FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-26-2010, 09:17 PM
Arthur Bela
 
Default chattr -i FILENAME not working

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@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-27-2010, 02:47 AM
vikash agrawal
 
Default chattr -i FILENAME not working

On Sat, Nov 27, 2010 at 3:47 AM, Arthur Bela <jozsi.avadkan@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@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!!!!



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-27-2010, 06:00 AM
Tom H
 
Default chattr -i FILENAME not working

On Fri, Nov 26, 2010 at 5:17 PM, Arthur Bela <jozsi.avadkan@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

From man page:
The 'e' attribute indicates that the file is using extents for mapping
the blocks on disk. It may not be removed using chattr(1).

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org