[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba usershares & permissions problem

On Thu, May 26, 2011 at 05:34:28PM +0100, Alan Chandler wrote:
> I have a fairly simple requirement
> I am running Debian Unstable on my Desktop and I want to provide a
> folder for my Windows 7 laptop to deposit some files.
> I thought that the simplest approach would be using samba on its
> own, but I then discovered the existance of nautilus-share which
> should make it so much easier when I want to swap around things.
> I followed instructions in /usr/share/doc/nautilus-share, adding
> myself to the sambashare group and right clicking on an appropriate
> folder inside my home dir (several layers in) and adding sharing.
> Clicking on guests-allow.
> Checking the permissions of things
> /var/lib/samba/usershares is 1777 and owned by root:sambashare
> the file inside /var/lib/samba/usershare that represents my share
> has permissions 644 and is owned by alan:alan (ie me).  Its contents
> include the path to my share and the following two lines.
Are you sure that all the paths leading up to the shared file have
proper permissions?  If a 644 file is inside a 700 directory, nobody
will be able to get to it.


Reply to: