Re: Samba usershares & permissions problem



I had that problem and I solved it following these instructions:

- http://forums.debian.net/viewtopic.php?f=16&t=60620

On Sun, May 29, 2011 at 14:46, Rob Owens <rowens@xxxxxxx> wrote:
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.

-Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20110529124656.GA18045@xxxxxxxxxxxxxxxx




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/BANLkTikrnwcOTPeurjK2sjrWsoZM2fAN-Q@xxxxxxxxxxxxxx



Relevant Pages

  • Re: Client "daemon" for sorting e-mail via IMAP
    ... and tell him "move it to that folder there"? ... I'll clean up and post the script if anyone is interested. ... and may have trouble connecting to Gmail. ... subject of "unsubscribe". ...
    (Debian-User)
  • Re: The Application Failed to Initialize properly (0xc0000022) Click Ok to Terminate the
    ... permissions.I've just tried on virtual PC commands which I attached to ... errors to work properly but now you try manually check permissions again ... Because you've taked ownership this folder and you now in SYSTEM ... errors with permissions caused by viruses.But of course not all trouble ...
    (microsoft.public.windows.vista.general)
  • Re: Samba usershares & permissions problem
    ... folder for my Windows 7 laptop to deposit some files. ... folder inside my home dir and adding sharing. ... has permissions 644 and is owned by alan:alan. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: /home/user folder accidentally removed
    ... I recently installed Debian to my computer to have Linux experince, so it didn't have any important files. ... I just had a new user folder. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: 5 newbie Linux users & one shared media folder?
    ... Can I have a media folder in /home without making a user called ... will have them create files with u=rw,g=rw,o=r permissions. ... But of course I don't know what kind of default permission settings the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)