Anyone ever seen this before...

Mark O. Kimball mok2 at physics.buffalo.edu
Thu May 15 10:09:28 EDT 2003


On Thursday 15 May 2003 09:53 am, Robert Dege wrote:
> I believe there is an attrib command.  It kinda works similar to
> attrib.exe back in the old DOS days.  It _COULD_ be possible that a file
> is hidden/protected using attrib.
>
> On the otherhand, your directory could always be on a (ro) mounted
> partition.  # mount would provide you with more information about that.
>

Ext2 and Ext3 both have additional attributes not seen with the ls command. 
The immutable flag will prevent a file from linked, renamed, overwritten, or 
appended. 

Try this:

lsattr <file or folder name>

If there is an "i" in the fourth field, your file has the immutable flag set. 
You can remove it by issuing:

chattr -i <file or folder name>

After this is done, you should be able to operate on the file normally.

Hope this helps...

Marko
-- 
Mark O. Kimball
Gasparinilab, University at Buffalo  |  Low temp physics
mok2 at physics.buffalo.edu  |  URL: enthalpy.physics.buffalo.edu
lab phone: 716-645-2017x122  Fax: 716-645-2507




More information about the nflug mailing list