Re: SAMBA and PERM

From: Mark Roach (mrroach_at_okmaybe.com)
Date: 01/21/05

  • Next message: Carl Fink: "Re: free vs commercial"
    To: debian-user@lists.debian.org
    Date: Thu, 20 Jan 2005 19:49:44 -0500
    
    

    On Thu, 2005-01-20 at 22:02 -0200, Leonardo Marques wrote:
    > How i do to share a directory, and the mounted share have the same
    > permissions than the directory on the server machine ?

    It does automatically. Samba is a fairly normal type of unix service;
    when a user connects to the smbd service, a new smbd service is spawned
    with the uid/gid of the connecting user. That process is what accesses
    the files on the filesystem. If the user doesn't have access to a file,
    then the smbd process won't have access to the file.

    I may be misunderstanding what you are asking though. Do you perhaps
    mean that you want to be able to mount a samba share and use it like
    nfs, where multiple different users can access the files using their
    effective permissions? If so, that is not possible with samba.
    -Mark

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Carl Fink: "Re: free vs commercial"

    Relevant Pages

    • Re: Changing groups
      ... pleaderb, sue, frank, ed are members of group projectb ... Everyone is a member of group user. ... depending on the file's permissions they can read and write the ... I do this all the time, using Samba. ...
      (Debian-User)
    • Re: [SLE] Samba
      ... Double check your permissions of /home and /home/group on your box. ... If it is a default samba install you are ... >>>I have samba set up and can see the Windows machine but can not write to ... I try to change the permisions on the Suse machine's /mnt point but>>>they stay the same. ...
      (SuSE)
    • Re: SMB Permissions
      ... I'd sure like the shares to get auto-mounted. ... However, I run into tons of permissions problems when I create a file, ... How do I implement a "guest" account? ... group that will be able to read the files Samba is going to share. ...
      (Fedora)
    • Re: Still cant network Linux and Windows
      ... Windows box, can only read them, and just changing the Linux ... Samba if you want access using that method. ...
      (comp.protocols.smb)
    • Re: SMB Permissions
      ... However, I run into tons of permissions problems when I create a file, ... How do I implement a "guest" account? ... group that will be able to read the files Samba is going to share. ...
      (Fedora)