draug3n Posted January 24, 2011 Share Posted January 24, 2011 So I've just got my new unRaid system up (using 4.7b1 and 4K-aligned partittions), and have successfully transferred my data from my old FrankenServer. So far, so good However, I'm experiencing a weird issue: browsing my shares, some directories appear empty - until I tell windows not to "hide protected operating system files". All files and folders are owned by nobody:users. The files I am not able to view do have the executable bit set, which seems to tell Samba "do not show this file unless forced to" so, my problem seems to have two possible solutions: 1) somehow tell Samba not to map +x to the "system" attribute 2) run a command that traverses my data, stripping the executable bit. This somehow feels less hacky any help appreciated! Link to comment
mbryanr Posted January 24, 2011 Share Posted January 24, 2011 I used this script... http://lime-technology.com/forum/index.php?topic=4674.msg43603#msg43603 Link to comment
draug3n Posted January 24, 2011 Author Share Posted January 24, 2011 i did some more googling, and found this one liner to sort out my file permissions: find /mnt/disk[1-4] -type f -exec chmod 644 {} \; Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.