Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Simple permissions question

Featured Replies

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?

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.

  • 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....

 

755 is not correct. Use the newperms script to fix file permissions.

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.