Re: Repost: Cannot remove directory `xpti.dat': Operation not permitted
From: Erik van Roode <hidden>
Date: 2001-02-16 16:53:43
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 afile after Iquoted
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/