chmod 444 *

William Scott Lockwood III vladinator at gmail.com
Fri Sep 21 21:02:04 UTC 2012


On Sep 21, 2012 4:00 PM, "Thufir" <hawat.thufir at gmail.com> wrote:
>
> Under what conditions can this file get deleted?
>
> thufir at dur:/var/spool/news/interesting.groups$
> thufir at dur:/var/spool/news/interesting.groups$ ll /var/spool/news/
> interesting.groups/gmane.linux.ubuntu.user
> -r--r--r-- 1 news news 0 Sep  9 23:37 /var/spool/news/interesting.groups/
> gmane.linux.ubuntu.user
> thufir at dur:/var/spool/news/interesting.groups$
>
>
>
> I want that this file can be read, but not deleted.  I looked through
> https://help.ubuntu.com/community/FilePermission
> but wasn't sure that I have the correct setting.
>
>
> -Thufir

Now do chattr +i to the file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120921/fd70462e/attachment.html>


More information about the ubuntu-users mailing list