Re: [Samba] User permissions, simple doc ?

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



2010/1/26 mistofeles <ptmusta@xxxxxx>:
>
> Is there some simple documentation about how to set the user permissons in a
> Samba server ?
>
> In my server I have the permissions like this:
> drwxrwx---  3 mydemo domain users 4096 2009-12-29 08:19 mydemo
> Now the other users can not read nor write to this directory.
>
> If I copy this directory anywhere, anybody can read and write there. (I have
> my reasons to make a copy)
> Is there any way to make these directories PRIVATE to the owner only ?
> I have tried chmod and chown with various values .
>
> In smb.conf I have:
> [%U]
>        comment = Own home dir
>        path = /home/%U
>        writeable = yes
>        valid users = %U
> [BCK]
>        comment = Here I copy the home dirs
>        path = /BACKUP/backup
>        browseable = yes
>        read only = yes

Use acl on filesystem, see examples at:
http://www.vanemery.com/Linux/ACL/linux-acl.html

--
Eero,
RHCE
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux