LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2008, 12:14 PM   #1
drinkymilk
LQ Newbie
 
Registered: Jan 2008
Posts: 22

Rep: Reputation: 15
Files in the trash


I deleted a few files of my desktop, and when i try to empty the trash i get this error message saying:

Error while deleting
'/home/usr/ blah blah' cannot be deleted because you do not have the permissions to modify it's parent folder.

Now I have tried a few codes as root in the terminal. but nothing seems to be working. any suggestions.

P.S. the files I ham trying to delete are a folder of driver information i d/l from the web that I never installed, and compiz.tar.gz I never had o use.

~tim
 
Old 01-10-2008, 12:31 PM   #2
wildcat22
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu
Posts: 102

Rep: Reputation: 15
The user "usr" doesn't usually have a home directory. That said, it sounds like you are trying to delete someone's home directory. Which is probably a bad thing. I would check around said home directory for some soft links. They can be tricky sometimes. Something might have happened when you tried to delete that driver folder.
 
Old 01-10-2008, 12:56 PM   #3
marciobarbalho
Member
 
Registered: Dec 2007
Location: Brazil
Distribution: slackware 13
Posts: 151

Rep: Reputation: 30
Quote:
Originally Posted by wildcat22 View Post
The user "usr" doesn't usually have a home directory. That said, it sounds like you are trying to delete someone's home directory. Which is probably a bad thing. I would check around said home directory for some soft links. They can be tricky sometimes. Something might have happened when you tried to delete that driver folder.
$ su
# chmod -R 755 /home/"username"

If machine is only yours, try this out:

# chmod -R 777 /home/"username"

"username" would be, for example, drinkymilk, /home/drinkymilk.

Last edited by marciobarbalho; 01-10-2008 at 12:58 PM.
 
Old 01-10-2008, 01:29 PM   #4
bahbahthelamb
Member
 
Registered: Jul 2006
Location: Fort Worth, Texas
Distribution: openSUSE 11, RHEL4 & 5, CentOS 5
Posts: 57

Rep: Reputation: 16
Run sudo rm -rf /home/USERNAME/.Trash/*
Where USERNAME is your username. It'll ask for your root password, then it'll purge your trash regardless of lack of user permisions.

-Josh
 
Old 01-10-2008, 02:52 PM   #5
drinkymilk
LQ Newbie
 
Registered: Jan 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the code!!

~tim
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted All My Files... They are in the Trash, but...... Dolamite777 Linux - Desktop 3 08-21-2007 06:38 PM
SuSE Linux 10.0 Trash Files ve1mos SUSE / openSUSE 2 12-26-2006 04:08 PM
Can't delete files that are in the trash opto Linux - Newbie 3 06-25-2006 01:36 AM
problem with trash.. and some files nofear Linux - Newbie 5 03-15-2004 03:19 PM
Files still appear after moved to trash~ xhunter Linux - General 3 10-11-2003 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

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