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! Quote 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 Quote 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 {} \; Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.