LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2008, 03:23 PM   #1
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Rep: Reputation: 15
cant delete folder...please help


im trying to delete a folder off the desktop of my home linux machine and i get this error:

access denied to /home/user/.local/.share/trash/files/firefox


is there a way you can force a delete? ive tried deleting it from my account and the root account. if i try to navigate to the folder via a terminal or folder it isnt there.....
 
Old 11-10-2008, 03:31 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Code:
su -
( your root password)
-- or use "sudo" if setup --
rm -RI /home/user/.local/.share/trash/files/firefox
 -- or --
rm -fRI /home/user/.local/.share/trash/files/firefox
 
Old 11-10-2008, 03:35 PM   #3
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
both returned

rm: invalid option -- I

?
 
Old 11-10-2008, 03:39 PM   #4
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
the folder actually resides at

/home/user/Desktop/firefox

but when i try to delete it i get the access denied error to the other location. when i try to navigate to that location, it doesnt exist. wtf? haha

i tried your command with i instead of I and got an error saying the same thing......that the file/folder does not exist (yet somehow the folder and files are still on my desktop)
 
Old 11-10-2008, 06:04 PM   #5
salter
Member
 
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
You have used '/home/user/.local/.share/trash/files/firefox' as the path
'local' is a hidden directory, so it's named '.local' (note the dot)
directory 'share' located within '.local' is NOT a hidden directory
also: it's 'Trash' and not 'trash'
simply remove the dot before 'share' in the pathname, correct 'Trash' and try deleting
/home/user/.local/share/Trash/files/firefox

Linux Archive

Last edited by salter; 12-20-2008 at 11:48 AM.
 
Old 11-10-2008, 06:41 PM   #6
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
nope...nothing

ive done it another way.....

just started the vncserver under root, remoted in and deleted.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A script within a folder to delete the folder, script, and the folder's contents Cyberman Programming 15 10-17-2007 07:32 AM
cannot delete folder douart SUSE / openSUSE 11 08-08-2007 12:58 PM
cannot delete folder ungua SUSE / openSUSE 3 05-09-2007 07:42 AM
How do I delete a folder? Ordinary12 Fedora 17 05-03-2007 07:03 PM
How do I delete a folder and everything in it? wuya Linux - Newbie 3 04-22-2005 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration