D-Link Forums
The Graveyard - Products No Longer Supported => DNS-323 => D-Link Storage => Beta code! => Topic started by: jamieburchell on January 14, 2010, 01:54:27 AM
-
If, for example files on the hard drives of the nas have "Jamie:Users" as the user/group and the NAS is reset and the users and groups re-created... will the file permissions be orphaned because the userid and groupid might not be the same? How does the NAS handle this?
-
Good question, I'll be interested to see the response to this. :)
-
At the risk of answering my own question I suspect even if the user and group details are orphaned it doesn't actually matter. The NAS gives 777 permissions to all files created so they will still be accessible anyway right?
-
Hmm... are you sure? What about the folks here that have been complaining about having access issues for files after changes? I'm sure I've seen folks complaining about permissions not set correctly.
-
I'm possitive that if I create a file on my NAS in Windows, it has 777 permissions. At least with this new firmware anyway. I put a file on my NAS, wrote a quick fun_plug to "ls -l" on the directory, it had 777 permissions.
-
Here's what the ls -l showed on my drive:
drwxrwxrwx 84 Jamie Users 4096 Jan 7 15:51 Applications
drwxrwxrwx 8 Jamie Users 4096 Jan 7 23:41 Backups
drwxrwxrwx 10 Jamie Users 4096 Jan 5 18:02 Devices
drwxrwxrwx 10 Jamie Users 4096 Jan 5 18:04 Documents
drwxrwxrwx 6 Jamie Users 4096 Jan 5 18:05 Games
drwxrwxrwx 6 Jamie Users 4096 Jan 10 13:05 Media
-rw-r--r-- 1 root root 35529 Jan 14 01:14 backup.log
-rw-r--r-- 1 root root 7692 Jan 14 01:14 dmesg.log
-rwxrwxrwx 1 Jamie Users 53 Jan 14 14:16 fun_plug
-rwxrwxrwx 1 Jamie Users 2024 Jan 14 09:56 fun_plug - Copy
-rw-r--r-- 1 root root 0 Jan 14 14:18 result.txt
-rwxrwxrwx 1 Jamie Users 0 Jan 14 14:15 this is a test.txt
Notice the 777 permissions. Those files owned by root:root were created through fun_plug. Strangely though I can delete them in Windows logged on as "Jamie:Users" even though they only have owner read/write.
-
Not to be a thread hi-jacker. But I have a question along these lines, and you guys sound like you know what your talking about.
I setup my DNS-323 as a FTP server and forwarded the ports so that my buddy could download our school assignment at his house. He is using Filezilla. He can log in fine with his user name and password, but he can't download any of the files we need. (Ms-Word) files. But he can download some PDF's no problem. In filezilla when he clicks on permissions, it has the multiple 777's and certain check boxes. But they obviously are not right because he can't download them. I gave him full r/w access in the FTP menu. How do I change those permissions on those specific files?
Thanks
-
Hi
Can't think of a reason why your buddy would only be able to download select files. If you say the files have "777" permissions, then they should be accessible to every user.