Slight correction: Write permission doesn't necessarily grant delete
permission. If a user has write permission on a file but not on the dir it
resides in, the user can modify the file but can't delete it. Permissions
of 755 on a directory and 777 on specific files inside it will allow everyone to
modify those files, but only the directory owner to create or delete them.
-Greg
-----Original Message-----
From: John H Terpstra [mailto:jht@samba.org]
Sent: Wednesday, May 28, 2003 8:53 AM
To: Manuel Linder
Cc: samba@lists.samba.org
Subject: Re: [Samba] Samba Directory Permissions
On Wed, 28 May 2003, Manuel Linder wrote:
> Hello,
>
> I installed samba on a linux-machine is it now possible to prohibit the
> samba users from deleting and creating new directories but allow them to
> save and edit files in the directories.
This question has been asked many times on this list. I encourage posters
to do some homework before posting repetitive questions that can irritate
some of our readers.
If I have edit (write) capability, then I can remove all content band
write and empty file. In that case I have deleted all content!
Under Unix - if you have write capability to a file you can delete it.
If anyone can come up with a way around this then judging by comments on
this list, the IT industry needs you!
- John T.
--
John H Terpstra
Email: jht@samba.org
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba