chattr -i FILENAME not working

vikash agrawal vikashagrawal1990 at gmail.com
Sat Nov 27 03:47:01 UTC 2010


On Sat, Nov 27, 2010 at 3:47 AM, Arthur Bela <jozsi.avadkan at gmail.com>wrote:

> Linux asdf 2.6.35-23-generic-pae #40-Ubuntu SMP Wed Nov 17 22:32:51
> UTC 2010 i686 GNU/Linux
>
> Distributor ID: Ubuntu
> Description:    Ubuntu 10.10
> Release:        10.10
> Codename:       maverick
>
>
> # lsattr FILENAME
> -----------------e- FILENAME
>
> # echo "1" >> FILENAME
> bash: FILENAME: Permission denied
>
>
> Theres still a "lock" "sticker" on the icon [FILENAME], on the
> desktop, like it would have immutable "on"
>
> How could I "unset" the immutable bit? :O "chattr -i FILENAME"
>
> Or I found a bug? :O
>
> Thank you!
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



As far as I know, this is related to your file permissions, so go for chmod
and not chattr and try chmod 777 <file_name> from root and the lock will go
away!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101127/85423e32/attachment.html>


More information about the ubuntu-users mailing list