I have a few files that are giving me (root) a permission denied message when trying to delete them. How can I remove them successfully. I'm not sure if they are damaged (suspect they are), I am using reiserfs, what arguments if any are required to fsck.reiserfs to check and report if they are damaged? Phil
pburness wrote:
I have a few files that are giving me (root) a permission denied message when trying to delete them. How can I remove them successfully. I'm not sure if they are damaged (suspect they are), I am using reiserfs, what arguments if any are required to fsck.reiserfs to check and report if they are damaged?
root + "permission denied" = AppArmor! Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 30 June 2006 11:18 am, pburness wrote:
I have a few files that are giving me (root) a permission denied message when trying to delete them. How can I remove them successfully. I'm not sure if they are damaged (suspect they are), I am using reiserfs, what arguments if any are required to fsck.reiserfs to check and report if they are damaged? I had a similar problem a few years ago (eneded up to be a HW problem that caused some corruption). You can run Reiser has a number of options, and the file system may not be mounted at the time. For the root file system, boot the rescue system. The first thing I do is run with the --check option. Then I might simply run with --rebuild-tree. Once your file system is clean, you should be able to delete the file in question.
-- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Jerry Feldman wrote:
On Friday 30 June 2006 11:18 am, pburness wrote:
I have a few files that are giving me (root) a permission denied message when trying to delete them.
I had recently such a problem, probably a file not closed properly (USB umounting too fast). I could not kill the relevant app (zombie). Restarting the computer fixed the problem jdd -- http://www.dodin.net http://dodin.org/galerie_photo_web/expo/index.html http://lucien.dodin.net http://fr.susewiki.org/index.php?title=Gérer_ses_photos -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-06-30 at 16:18 +0100, pburness wrote:
I have a few files that are giving me (root) a permission denied message when trying to delete them. How can I remove them successfully. I'm not sure if they are damaged (suspect they are), I am using reiserfs, what arguments if any are required to fsck.reiserfs to check and report if they are damaged?
It is a "typical" problem with reiserfs. You have to umount the partition, then fsck it. If it is the root partition, that means booting from the install CD/DVD and use the rescue system. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEpZ6GtTMYHG2NR9URAu84AJ9fZBQ+Fi7HBZBmCw/2WrzNOH1pxwCeLUS4 XDQHCk4rc20YhIAZchM18Eo= =3hP0 -----END PGP SIGNATURE----- -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Carlos E. R.
-
jdd sur free
-
Jerry Feldman
-
pburness
-
Sandy Drobic