* Repost: Cannot remove directory `xpti.dat': Operation not permitted
[not found] ` <20010214183504.A3488@lsil.com>
@ 2001-02-16 10:04 ` Mats Soderstrom
2001-02-16 16:53 ` Erik van Roode
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mats Soderstrom @ 2001-02-16 10:04 UTC (permalink / raw)
To: linuxppc-dev
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:
>
> > 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted
2001-02-16 10:04 ` Repost: Cannot remove directory `xpti.dat': Operation not permitted Mats Soderstrom
@ 2001-02-16 16:53 ` Erik van Roode
2001-02-16 17:25 ` Martin Costabel
2001-02-16 17:46 ` Roman Zippel
2 siblings, 0 replies; 4+ messages in thread
From: Erik van Roode @ 2001-02-16 16:53 UTC (permalink / raw)
To: linuxppc-dev
At 11:04 AM 2/16/01 +0100, Mats Soderstrom wrote:
>Original message:
>
> >
> > > 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?
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted
2001-02-16 10:04 ` Repost: Cannot remove directory `xpti.dat': Operation not permitted Mats Soderstrom
2001-02-16 16:53 ` Erik van Roode
@ 2001-02-16 17:25 ` Martin Costabel
2001-02-16 17:46 ` Roman Zippel
2 siblings, 0 replies; 4+ messages in thread
From: Martin Costabel @ 2001-02-16 17:25 UTC (permalink / raw)
To: Mats Soderstrom; +Cc: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted
2001-02-16 10:04 ` Repost: Cannot remove directory `xpti.dat': Operation not permitted Mats Soderstrom
2001-02-16 16:53 ` Erik van Roode
2001-02-16 17:25 ` Martin Costabel
@ 2001-02-16 17:46 ` Roman Zippel
2 siblings, 0 replies; 4+ messages in thread
From: Roman Zippel @ 2001-02-16 17:46 UTC (permalink / raw)
To: Mats Soderstrom; +Cc: linuxppc-dev
Hi,
On Fri, 16 Feb 2001, Mats Soderstrom wrote:
> > > 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-02-16 17:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3A8ADFD7.AB3E73B1@ibk.liu.se>
[not found] ` <20010214183504.A3488@lsil.com>
2001-02-16 10:04 ` Repost: Cannot remove directory `xpti.dat': Operation not permitted Mats Soderstrom
2001-02-16 16:53 ` Erik van Roode
2001-02-16 17:25 ` Martin Costabel
2001-02-16 17:46 ` Roman Zippel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).