Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > how to remove folder permissions

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-09-2008   #1 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
Exclamation how to remove folder permissions

hi to all i want to remove a folder on the desktop as it is containing a windows win32 virus but when i trash it it says you dont have permission to change parents folder help also there is a lock on the folder advice iam using fedrora 8 i386
iyuvabharat is offline  


Reply With Quote
Old 05-09-2008   #2 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 839
hi,


switch to root and flush it as follows
Code:
su -
rm -rf /path/folder_name
and you should be done
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-09-2008   #3 (permalink)
Linux Guru
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,407
But it goes without saying that you should be very very very careful what you do when you have root permissions.

Especially when using "rm -rf"....
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is online now   Reply With Quote
Old 05-09-2008   #4 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 839
thanx smolloy

I had to tell him about root and "rm -rf".

so as smolloy said be very careful
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-09-2008   #5 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
its not working

says inavalid request, it is on the desktop help
iyuvabharat is offline   Reply With Quote
Old 05-09-2008   #6 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 839
can you post please the results you got when you run the command?
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-09-2008   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,058
Send a message via Yahoo to devils casper
Execute this
Code:
cd ~/Deskop
ls -l
Post output here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 05-10-2008   #8 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
here is what i got it when i used casper advice

[arun@localhost ~]$ cd ~/Desktop
[arun@localhost Desktop]$ 1s -1
bash: 1s: command not found
[arun@localhost Desktop]$ ls -1
AdobeReader.desktop
aru
DataOneQUF.exe.desktop
games
gnome-system-monitor.desktop
gnome-terminal.desktop
II YEAR II SEM. R05 time table.doc
match_table
match_table_files
opera.desktop
preferred-web-browser.desktop
reports
showMessage
showMessage_files
SOFT.CCK
µTorrent.desktop
untitled folder
vkmurthy files
webLogin_files

what to do..........

Last edited by iyuvabharat; 05-10-2008 at 04:51 AM.. Reason: go it wrong
iyuvabharat is offline   Reply With Quote
Old 05-10-2008   #9 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
TO KHAFIA what should i post when iam not getting anything it does not showing anything seems to me your code is correct but that thing is not unlocking or not giving me permission
iyuvabharat is offline   Reply With Quote
Old 05-10-2008   #10 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 839
what are the folders you wanna delete and give us exactly the way you run the command i gave you
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:25 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2