May 1, 201115 yr 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.
May 1, 201115 yr Seems like you have a similar problem to myself, recently posted in this thread http://lime-technology.com/forum/index.php?topic=12687.0 Hopefully it's something stupid
May 1, 201115 yr 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
May 1, 201115 yr Author Actually it's only when group has execute permissions, the everyone else execute flag seems to be fine.
May 1, 201115 yr 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.
May 1, 201115 yr 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?
May 1, 201115 yr 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.