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.

[SOLVED] File permissions issues with Windows clients

Featured Replies

Hello all,

 

I recently got couch potato and sick beard moved over my unraid box and I think I may have hosed up something with the permissions as I cannot see the files on windows hosts now.

 

I basically did a chmod -R 777 on one of my shares, as well as a chown -R nobody.users since thats what the programs run as.

 

Now when I browse the shares on windows hosts the folders appear empty but if I do a properties on them I see data as far as folder sizes go. I even tried copying one of the directories to a windows machine which changed the ownership to rob.rob but I still cannot browse the files. I can browse them on a linux workstation with no problems.

 

When I browse the permissions in windows it shows everything has "special permissions" but for everybody full control is allowed. I noticed when I try to modify these permissions however nothing sticks when I hit apply.

 

I'm running out of things to try. Anyone have any ideas?

 

Thanks in advance.

 

 

  • Author

So it appears that setting the files to 666 fixes the issue. Anyone know why windows cannot browse files with an exectuable flag? Maybe it's mapping the hidden flag over the executable flag since it doesn't exist in linux but does in windows?

 

Thanks

  • Author

Actually it's only when group has execute permissions, the everyone else execute flag seems to be fine.

  • Author

Actually spoke too soon again. When the everyone else execute flag is enabled the windows hidden flag gets enabled. Having execute on the group permissions made the file hidden to where even with "show hidden files" enabled the windows machine couldn't see it.

  • Author

Found the following diagram that confirms what I found manually:

 

http://oreilly.com/catalog/samba/chapter/book/figs/sam.0507.gif

 

I thought maybe samba had map archive, system, and hidden enabled but theres no specification for them in user shares which defaults to off I thought. Am I mistaken?

  • Author

Ahah! It seems your default samba install enables map system and hidden.

 

I added the following to /boot/config/smb-extra.conf and verified that I can browse the files with 777 permissions from windows hosts now:

 

map hidden = No

map system = No

 

Great success!

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.