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

Samba usershares & permissions problem

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.


the directory I am pointing to (ie the one I am sharing) has ownership alan:sambashare and 777 permissions.

When I scan the network in Windows 7 in normal mode, it can't find my machine. However I am able to connect by entering \\Kanga (my machines name) and then its sees it.

I can now read from this share, but not write to it.

Looking in the samba log (or more explicitly /var/log/samba/log.smbd I see my windows laptop log in as user nobody and then get permission denied.

But I don't understand why.  Can anyone help

Alan Chandler

Reply to: