Re: File impossible to delete
"Colin R. Telmer" wrote:
> As root can you chmod 700 drafts and then try rm -f drafts?
I've tried stuff like
bash-2.00# chmod 666 drafts
chmod: drafts: Operation not permitted
bash-2.00# touch drafts2; chmod 777 drafts2; mv drafts2 drafts ; rm drafts
mv: cannot move `drafts2' to `drafts': Operation not permitted
rm: drafts: Operation not permitted
bash-2.00# mv drafts /tmp
mv: cannot move `drafts' to `/tmp/drafts': Operation not permitted
bash-2.00# chattr -i drafts
chattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
chattr: No such device while reading flags on drafts
bash-2.00# cat > debugfs-cmd
kill_file /root/Mail/drafts
^D
bash-2.00# debugfs -f ./debugfs-cmd /dev/sda3
debugfs: kill_file /root/Mail/drafts
Kill file by inode 14930
538976304 Illegal block number passed to ext2fs_unmark_block_bitmap #538976304 for block bitmap for /dev/sda3
807411744 Illegal block number passed to ext2fs_unmark_block_bitmap #807411744 for block bitmap for /dev/sda3
538976288 Illegal block number passed to ext2fs_unmark_block_bitmap #538976288 for block bitmap for /dev/sda3
170926112 Illegal block number passed to ext2fs_unmark_block_bitmap #170926112 for block bitmap for /dev/sda3
1953067607 Illegal block number passed to ext2fs_unmark_block_bitmap #1953067607 for block bitmap for /dev/sda3
540701541 Illegal block number passed to ext2fs_unmark_block_bitmap #540701541 for block bitmap for /dev/sda3
538976288 Illegal block number passed to ext2fs_unmark_block_bitmap #538976288 for block bitmap for /dev/sda3
538976304 Illegal block number passed to ext2fs_unmark_block_bitmap #538976304 for block bitmap for /dev/sda3
807411744 Illegal block number passed to ext2fs_unmark_block_bitmap #807411744 for block bitmap for /dev/sda3
538976288 Illegal block number passed to ext2fs_unmark_block_bitmap #538976288 for block bitmap for /dev/sda3
540024864 Illegal block number passed to ext2fs_unmark_block_bitmap #540024864 for block bitmap for /dev/sda3
538976288 Illegal block number passed to ext2fs_unmark_block_bitmap #538976288 for block bitmap for /dev/sda3
538980384 Illegal block number passed to ext2fs_unmark_block_bitmap #538980384 for block bitmap for /dev/sda3
538976288 Illegal block number passed to ext2fs_unmark_block_bitmap #538976288 for block bitmap for /dev/sda3
538976304 Illegal block number passed to ext2fs_unmark_block_bitmap #538976304 for block bitmap for /dev/sda3
ext2fs_write_inode_bitmap: Attempt to write to filesystem opened read-only
ext2fs_write_block_bitmap: Attempt to write to filesystem opened read-only
ext2fs_close: Attempt to write to filesystem opened read-only
Nothing works!
--
Peter Galbraith, research scientist <galbraith@mixing.qc.dfo.ca>
Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada 418-775-0852 - FAX 418-775-0546
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble?
e-mail to templin@bucknell.edu .
Reply to: