Cannot delete a file on 2.4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I get the error "Operation not permitted" when I try to delete
a file as root, see some commands below.

- there is no "i" attribute
- it's a problem with the files and not the upper directories
  since I can delete a similar file in the same directory
- fsck -f doesn't find any error on the partition
- the partition is mounted rw

If this is not the right place to submit this bug because
it's a kernel bug or if you need further information, tell me.

Thanks
Alain


root ~ #stat /var/lib/dpkg/info/groff.postrm
  File: "/var/lib/dpkg/info/groff.postrm"
  Size: 202             Blocks: 8          IO Block: 4096   Regular File
Device: 1606h/5638d     Inode: 48907       Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: Tue Jan 29 08:50:53 2002
Modify: Tue Jan 15 01:25:56 2002
Change: Sun Mar 31 20:12:30 2002

root ~ #lsattr /var/lib/dpkg/info/groff.postrm
s-S-adAc-D---- /var/lib/dpkg/info/groff.postrm

root ~ #rm /var/lib/dpkg/info/groff.postrm
rm: cannot unlink `/var/lib/dpkg/info/groff.postrm': Operation not permitted

root ~ #rm /var/lib/dpkg/info/zsh.postrm

root ~ #mount | grep " /var"
/dev/hdc6 on /var type ext3 (rw)





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux