D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: kidmidnight on August 20, 2010, 10:52:11 PM

Title: Cant add or remove files. Permissions problem
Post by: kidmidnight on August 20, 2010, 10:52:11 PM
Just like the title says.  i cant change any files that I have on the 323 unless I log in as guest.  If I log in as Admin I cant do anything except for read only.  I have changed it in the web interface so that any user can read or write but it still only lets me read only for any account other than Guest.  Any hints why this may be happening?
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 21, 2010, 01:52:26 AM
If you are running firmware version 1.08 or higher, you need to login with a username and password of one of the users you have created in the NAS's web interface.
Title: Re: Cant add or remove files. Permissions problem
Post by: kidmidnight on August 21, 2010, 09:52:16 AM
I did.  I erased all the users then recreated one and gave it rw access to everything on volume 1.  I can write to volume 1 but to none of the folders inside it.  The only account I can write to subfolders I have created is the guest account. 
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 21, 2010, 11:25:25 AM
It would appear that some files/folders you have created on your NAS belong to another user - hence the permission trouble you are having. Not fully understanding your situation but if I was in a similar position I would reset the file permissions on all the files on the box using chown.
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 21, 2010, 11:25:38 AM
I think this may be one of the "reset to factory defaults" fixes.  That has sorted it out for several people.
Title: Re: Cant add or remove files. Permissions problem
Post by: kidmidnight on August 21, 2010, 02:01:56 PM
Yeah, i think they were created by the Guest account.  I have full access to them with that account.  Even after adding a new user and giving them full permissions to volume 1 I cant add or remove files.  Ill try the factory reset. 
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 21, 2010, 03:14:43 PM
AFAIK a factory reset won't change the ownership of files already on the NAS but it will probably help in another way. Strange thing is, all files you create on the NAS through SMB have 777 permissions so all users should have read write access anyway. The NAS permissions only come in to play at share level.
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 21, 2010, 03:23:19 PM
Several people have cured this issue by a factory reset, which is why I suggest it. :)
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 21, 2010, 03:42:23 PM
I'm not disagreeing with you. I'm wondering how the issue arises in the first place when all files have 777 access.
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 21, 2010, 03:52:13 PM
Well, the fact that all the files indeed appear to have 777 access, suggests that it's something about the configuration that is confusing SAMBA.  I suspect that's why the reset is effective, it erases all the custom configuration.

I've never experienced this, so I can't say for 100% sure what might cure it, or how it comes about. :)
Title: Re: Cant add or remove files. Permissions problem
Post by: kidmidnight on August 21, 2010, 09:15:18 PM
Reset worked perfectly.  Thanks guys
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 22, 2010, 01:28:35 AM
Wonder if Reset Nework Access list would have worked too?

Anyway, glad it's sorted. Hail to the factory reset.
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 22, 2010, 06:05:29 AM
I go for the easy solutions. :D
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 22, 2010, 03:44:56 PM
If you have the time and energy to reconfigure the box :)
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 22, 2010, 04:02:18 PM
Well, you can spin your wheels for hours trying to sort it out otherwise, see the other threads here and you can watch the level of frustration rise as they progress. :)
Title: Re: Cant add or remove files. Permissions problem
Post by: jamieburchell on August 22, 2010, 04:11:33 PM
Time to debut my new signature.
Title: Re: Cant add or remove files. Permissions problem
Post by: gunrunnerjohn on August 22, 2010, 05:01:49 PM
Not bad advice. :D