LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-31-2001, 01:52 AM   #1
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Rep: Reputation: 15
Amazing thing !I could not remove files even i am root and rm -fr filename.


first ,these files is generated by sys after i moved all the files /home/* (in /dev/hda2) to another /home/(in /dev/hda6) and then deleted /home(in /dev/hda2).
second,it says i have no permission to del them or change their attib.
third,their attib is readable and writealbe by root.

So how should i do then.
Any help is appreciated.
 
Old 12-31-2001, 09:50 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
if that isn't working even as root, have you tried changing the ownership of the files to root... you can do this with the chown command..
 
Old 01-02-2002, 07:56 PM   #3
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
yeah,i have tried,but it doesnot work.

It says,operation denied.
How should i do then?
Good luck!

Last edited by whepin; 01-02-2002 at 09:31 PM.
 
Old 01-03-2002, 02:01 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
what format is hda6 and hda2 on? it sounds like it might be a fat16 or 32 partition if it's having problems with permissions.
 
Old 01-03-2002, 02:25 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
The immutable bit is probably set.

Try: chattr -i filename
 
Old 01-04-2002, 01:34 AM   #6
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
No,it is really Linux ext2.

I have formatted it by PQMagic.And in fstab,it is also linux ext2.
 
Old 01-04-2002, 06:30 AM   #7
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Thx,everyone.

Quote:
The immutable bit is probably set.

Try: chattr -i filename
Yeah,i tried,and it really works.

Thx Mik!
Thx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script to remove capitalisation and spaces form a filename scuzzman Programming 11 05-18-2008 12:28 PM
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 04:33 AM
how would i remove things froms filename.bin Paxmaster Linux - Software 3 01-27-2005 03:18 AM
filename- and filename~ files? slinky2004 Linux - Newbie 5 10-17-2004 10:32 PM
Meaning of .files and when to use ./filename costasm Linux - Newbie 3 10-19-2003 09:23 AM


All times are GMT -5. The time now is 12:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration