Repost: Cannot remove directory `xpti.dat': Operation not permitted

4 messages, 4 authors, 2001-02-16 · open the first message on its own page

Repost: Cannot remove directory `xpti.dat': Operation not permitted

From: Mats Soderstrom <hidden>
Date: 2001-02-16 10:04:29

I posted this earlier asking for help. After a system crash I had to run fsck
manually on several volumes - for me this is saying "yes" to whatever fsck ask if
it should fix. Anyway, after a restart the properties of xpti.dat (a mozilla
component) is changed and I cannot remove it as root. So how do I go about fixing
this? Can I use fsck and specify a sertan file? This is a bit over my head so I
need advice from the experienced guys out there.

Thank you in  advance!

/Mats Soderstrom

Original message:
quoted
I was left with this unremoveable directory that supposed to be a file after I
had to do a volume repair:

[root@a22 /]# cd /usr/lib/mozilla/components
[root@a22 components]# ls -l
total 2
dr-s--s-wt   2 14409    25193        2048 Apr 19  2032 xpti.dat
[root@a22 components]# rm -rf *
rm: cannot remove directory `xpti.dat': Operation not permitted
[root@a22 components]#

How do I remove this file?
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted

From: Erik van Roode <hidden>
Date: 2001-02-16 16:53:43

At 11:04 AM 2/16/01 +0100, Mats Soderstrom wrote:
Original message:
quoted
quoted
I was left with this unremoveable directory that supposed to be a
file after I
quoted
quoted
had to do a volume repair:

[root@a22 /]# cd /usr/lib/mozilla/components
[root@a22 components]# ls -l
total 2
dr-s--s-wt   2 14409    25193        2048 Apr 19  2032 xpti.dat
[root@a22 components]# rm -rf *
rm: cannot remove directory `xpti.dat': Operation not permitted
[root@a22 components]#

How do I remove this file?
The permissions on the xpti.dat directory are irrelevent. It is the permissions
of the directory in which xpti.dat is located that determine whether you are
allowed to delete it. Make sure the permissions of the enclosing directory
include
w permissions. Then ofcourse, with the current permissions of xpti.dat, you are
not allowed to remove anything in it. Use chmod to add w permissions.

Erik


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted

From: Martin Costabel <hidden>
Date: 2001-02-16 17:25:16

Mats Soderstrom wrote:
I posted this earlier asking for help. After a system crash I had to run fsck
manually on several volumes - for me this is saying "yes" to whatever fsck ask if
it should fix. Anyway, after a restart the properties of xpti.dat (a mozilla
component) is changed and I cannot remove it as root. So how do I go about fixing
this?
This might be a case for debugfs from e2fsprogs. You can unlink any file with this, but you can also screw up your filesystem. Make sure you use the latest version (>=
1.19) and read the man page.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted

From: Roman Zippel <hidden>
Date: 2001-02-16 17:46:46

Hi,

On Fri, 16 Feb 2001, Mats Soderstrom wrote:
quoted
quoted
dr-s--s-wt   2 14409    25193        2048 Apr 19  2032 xpti.dat
[root@a22 components]# rm -rf *
rm: cannot remove directory `xpti.dat': Operation not permitted
[root@a22 components]#

How do I remove this file?
Did you already try lsattr/chattr?

bye, Roman

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help