Niall O Broin wrote:
> On 2 Mar 2005, at 10:38, Dale Dunlea wrote:
>>> We use Samba as our domain controller. Someone recently did something
>> silly, and accidentally dragged an entire directory into another
>> directory without noticing, thus "losing" it. He claims that he has
>> worked on systems in the past which allowed creation and modification
>> of a file, but not deletion. Now, to me this sounds a little silly.
>> If you can modify a file, then you can truncate it to zero bytes,
>> making inability to delete somewhat of a moot point. Nonetheless, I
>> suppose it would make it harder for people to do stupid things.
>>>> Does such a feature exist in Samba, and if not, can someone at least
>> tell me it doesn't exist in windows either such that I can refute his
>>> I don't think this feature exists in Samba, because in order to be
> able to create a file in a Unix directory, you need write permission
> on the directory, which also allows you to delete files. It's been a
> while but AFAIR Netware has Delete and Write as separate rights and I
> think NT has the same. As you pointed out, it's not terribly useful,
> except to stop accidental deletions.
Netware seems to be the general consensus alright.
>> Unix file permissions have historically been much less granular than
> other OS such as VMS or Netware. Using ACLs allows for finer control
> of file permissions, and this document
>>http://www.bluelightning.org/linux/samba_acl_howto>> might be helpful.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!