Oliver Schulze L.
2003-Oct-31 12:35 UTC
[Samba] [ACL] granting modify but not delete permission to a file
Hi. In WinXP I can setup the permission of a file so that a user can modify the file, but he can not delete the file. I wonder if this is posible in Linux + ACL patch + Samba 3.0 compilled with --with-acl? Many thanks Oliver -- Oliver Schulze L. <oliver@samera.com.py>
rruegner
2003-Oct-31 12:45 UTC
[Samba] [ACL] granting modify but not delete permission to a file
Hi , the failure must be on your site, i tested this things on my setup and it works, check the permissions on the linux server, and your smb.conf . Regards ----- Original Message ----- From: "Oliver Schulze L." <oliver@samera.com.py> To: <samba@lists.samba.org> Sent: Friday, October 31, 2003 1:35 PM Subject: [Samba] [ACL] granting modify but not delete permission to a file> Hi. > In WinXP I can setup the permission of a file so that a user can modify > the file, > but he can not delete the file. > I wonder if this is posible in Linux + ACL patch + Samba 3.0 compilled > with --with-acl? > > Many thanks > Oliver > > -- > Oliver Schulze L. > <oliver@samera.com.py> > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Dan Bar
2003-Nov-01 07:18 UTC
[Samba] Re: [ACL] granting modify but not delete permission to a file
Oliver Schulze L. wrote:> Hi. > In WinXP I can setup the permission of a file so that a user can modify > the file, > but he can not delete the file. > I wonder if this is posible in Linux + ACL patch + Samba 3.0 compilled > with --with-acl? >In posix ACL is no equivalent to Windows's "enable/disable delete" attribute. Generally, if user have write access to a directory he can delete/rename file even he is not an owner of file. The only way to prevent him from this is to set a sticky bit on a directory containing your files. It tells to Linux - "only the owner of file can delete/rename it". Access rights of others then depend on rwx/ ACL settings. Dan Some info: http://linux.oreillynet.com/pub/a/linux/lpt/22_06.html http://www.linuxguruz.com/foldoc/foldoc.php?sticky+bit
Maybe Matching Threads
- Samba rpm and /var/*/samba directory for .tdb files
- Error when migrating from 3.0.20b to 3.0.21x
- Files being deleted when loging in two machines #2
- 3.0.21 and "Rejecting auth request from client"
- Migrating from mbox to maildir, which converter is compatible with dovecot