Is it possible to give read&write permission without delete permission?
Johnny Rosenberg
gurus.knugum at gmail.com
Wed Dec 16 19:39:06 UTC 2009
2009/12/16 Markus Schönhaber <ubuntu-users at list-post.mks-mail.de>:
> 16.12.2009 18:05, Loïc Grenié:
>
>> You have to set the "sticky" bit of the directory:
>>
>> chmod 1777 ~/stored
>>
>> That way only the owner of the directory and root can delete the files inside.
>
> ... and the owner of a file is allowed to delete it.
>
> --
> Regards
> mks
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
I remember an operating system called ”Primos” by Pr1me. You could
specify exactly what could be done with a file or a directory and by
whom. I don't know exctly, but it could look something like this:
User1: darwx
User2: arw
$rest: ar
Maybe I remember it wrong, but something like that anyway. If you had
all permissions, it looked like:
User3: dalurwx
rwx was the usual read, write and execute. I think a was for ”access”,
d for ”delete” but I don't remember what l and u was.
Maybe l was for ”list” and u was for… like what? ”update”?
I also think that * meant ”all permissions”.
I think you can install something like this in Ubuntu:
sudo apt-get install acl
I found this page:
http://tlug.dnho.net/?q=node/171
Maybe a possible solution?
Johnny Rosenberg
More information about the ubuntu-users
mailing list