November 14, 201213 yr I have a share named "bob" -- its my user share where I dump all my random stuff. Looking at it from the command prompt, some files are shown as "bob:users" and some are "nobody:users" Some are set to 775 for permissions, some to 755, some to 700, and some are 400, 404... Its pretty random. I created the share in unraid, gave "bob" read/write access, and proceeded to dump data there from my main workstation. Why such a mix of ownership and permissions? Should I 'chown' the entire structure to "bob:users" or "nobody:users?" And what should file permissions be set at? The share is set for no access to all users, but full access to "bob" in unraid. Same goes for other shares... Should user "jane" be the owner of all the files in her share, or nobody?
November 14, 201213 yr How are the files being created? The user name does not matter as long as the group is set to user. Do you have problems accessing any of the files? There will be an issue if you allow another user, e.g., Alice, to access the share. The new user will not have access to files that have a x0x (a zero in the second position) as permissions. Run the New Permissions utility to correct. Or enter "newperms target" on the command line where target is a file or directory.
November 14, 201213 yr Author Files are being created by their associated users (bob and jane). All the newperms script does is change ownership to nobody:users and chmod 755 (I think). I'm just wondering if my user permissions will remain in tact (ie only bob can see his files, bob can see everyone else's files since he's the admin, etc) if I chown my entire array to nobody:users and 755....
November 15, 201213 yr Author You're right, its rw-rw---- Sorry, I don't know where I got 755 from. I ran newperms on one file in bob's share folder, and bob could still read, write, move it, etc. So should I run newperms on his entire user share and replace the files that are currently owned by bob with ownership by nobody? When I create a file in bob's share using bob's Windows account on bob's PC, bob is the owner of that file. So which one is correct?!
Archived
This topic is now archived and is closed to further replies.