LinuxQuestions.org
Register a domain and help support LQ
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 07-07-2008, 07:16 AM   #1
Ramyashree
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
To delete root permission files in user trash


Hi all,
I have some files with root permission in trash which can't be deleted even after logged in as root. I used USB which contained windows virus and I deleted the same in Red Hat Linux. Now I want to empty the trash. I deleted the folder trash from root and I created it newly. But still this files are there in my user login. Please suggest me the possible way to delete these files.

Thanks in advance.
Ramya.L.
 
Old 07-07-2008, 04:49 PM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
User and root trash bins are usually separated in Linux. root will have its own bin, and the user its own distinct one. Try deleting user files when logged in as the specific user, and if you still can't delete all the files, write again here.
 
Old 07-09-2008, 01:00 AM   #3
Ramyashree
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,
I tried that one also. The files are not deleted. I deleted the folder itself. But when I opened the same in GUI it is still there.Is there any way of deleting these infected files? I got one solution for it, but its rough way. Anyway I want to mention it. Creating new user and transferring data to that newuser and deleting the old user.But suggest me a good way of solving the problem. Thanks for your suggestion.

Ramya.L.
 
  


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
fusesmb: permission denied to delete files in shares xri Linux - Networking 1 09-29-2007 10:03 PM
Giving a user root permission via the root group louisb Linux - Security 6 07-23-2007 01:56 AM
can't delete (send to trash) files on usb devices. vacuman Ubuntu 4 01-27-2007 06:33 AM
Can't delete files that are in the trash opto Linux - Newbie 3 06-25-2006 02:36 AM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 03:46 AM


All times are GMT -5. The time now is 04:10 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