Try this:

> lsattr -d backup

if you see something like this:

----i-------- backup

then you directory is immutable.

You can chnge the (i) mode with:

> chattr -i backup

Regards,

+---------------------------------------------------+
| Ziaur Rahman           |       PGP Key: 0x8B686E8E|
| http://zia.info        |        http://pgp.mit.edu|
|                        |                          |
+---------------------------------------------------+
.-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.

I'm also against BODY-SURFING!!

.-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.
Composing started at: Thu Jun  5 17:35:50 SGT 2003
     _)        _)        _|
 _  / |  _` |   | __ \  |    _ \
   /  | (   |   | |   | __| (   |
 ___|_|\__,_|_)_|_|  _|_|  \___/

 --.. .. .- .-.-.- .. -. ..-. ---
(           morse code           )


Quoting "Cannon, Andrew" <[EMAIL PROTECTED]>:

| Try copying the file, renaming it to backup1 and then altering the
| permissions on the copied file. It might work...
|
| Andrew
|
| -----Original Message-----
| From: Ravi Narwade [mailto:[EMAIL PROTECTED]
| Sent: Thursday, June 05, 2003 10:07 AM
| To: [EMAIL PROTECTED]
| Subject: chmod proble
|
|
|
| hi everybody
| I am suffering from a small problem that I have a file with name 'backup'
| its permission is
| ---x------    1 root     root          671 Jun  5 11:38 backup
| when i tried to change its permission by root user
| by giving the command
| chmod 700 backup
| its gives the following error
| chmod: changing permissions of `backup': Operation not permitted
| so please help me i tried it but it didnt.
| regards
|
| --
| ravi
|
|
| --
| redhat-list mailing list
| unsubscribe mailto:[EMAIL PROTECTED]
| https://www.redhat.com/mailman/listinfo/redhat-list
|
|
|
***********************************************************************************
|  NNC Limited
|  Booths Hall
|  Chelford Road
|  Knutsford
|  Cheshire
|  WA16 8QZ
|
|  Country of Registration: United Kingdom
|  Registered Number: 1120437
|
|  This e-mail and any files transmitted with it are confidential and
|  intended solely for the use of the individual or entity to whom they
|  are addressed. If you have received this e-mail in error please notify
|  the NNC system manager by e-mail at [EMAIL PROTECTED]
|
***********************************************************************************
|
|
| --
| redhat-list mailing list
| unsubscribe mailto:[EMAIL PROTECTED]
| https://www.redhat.com/mailman/listinfo/redhat-list
|



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to