Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-19-2009, 08:05 PM   #1
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Cannot delete tmp files, need help

I tried to move some files from one folder to another on my external hard drive, I get a message " cannot delete same file in /mnt/tmp " So I go to tmp and try to delete it as root from command line and still cannot delete the files.
How do I delete these files?

I thought root allowed you to do anything..

On another note. How do I temporarily change permissions so I can delete them?
I dont understand how the permissions work, I tried to but I am lost...

Last edited by M$ISBS; 11-19-2009 at 08:07 PM.
Old 11-19-2009, 08:06 PM   #2
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Maybe its mounted as read only? That's just a guess
Old 11-19-2009, 09:04 PM   #3
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Originally Posted by exvor View Post
Maybe its mounted as read only? That's just a guess
Ok I just figured out that if I place a -w in the command line, that allows read write, Thanks for the help.

Last edited by M$ISBS; 11-19-2009 at 09:14 PM.


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
How and When to delete files in /tmp? mejohnsn Linux - Newbie 33 10-29-2009 01:20 AM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-02-2009 11:56 PM
script to delete tmp files Iyyappan Linux - Newbie 8 08-02-2009 06:40 AM
How To Delete tmp Files In FC5 zenarcher Fedora 3 09-07-2006 12:51 AM
can i delete /tmp files? demmylls Linux - General 1 03-01-2004 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 AM.

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