[Hampshire] Preventing Samba Directory Listing

Top Page

Reply to this message
Author: Simon Capstick
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] Preventing Samba Directory Listing
I just tried to block directory listings of a particular samba share,
but still allow read/writes within it to explicitly named files. I
simply did a 'chmod g-r' on the directory in question. The result worked
on the Samba box and also on the Linux box that had the share mounted
via cifs. However opening a file (explicitly named) within MS Word 2007
on WinXP results in a file not found error message. My samba version is
3.0.14a-Debian.

Is my chmod g-r barking up the wrong tree or do I have a Windows issue?

Thanks,

Simon