Re: [Hampshire] Preventing Samba Directory Listing

Top Page

Reply to this message
Author: Chris Aitken
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [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?


When Word opens a file, it creates a copy of the file in the same
directory. You'll need to allow creation of that file type, or total
write access to the share.

Chris