LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-07-2007, 11:39 AM   #1
gwynn
LQ Newbie
 
Registered: Jun 2004
Location: Abergavenny
Distribution: Ubuntu 7.04
Posts: 8

Rep: Reputation: 0
Deleting files/folders in Ubuntu 7.04


Hi all.
I've installed Ubuntu 7.04 on my C:\ drive. There is no other OS on that drive.

On what would have been my D:\ drive there are documents of all descriptions which were created when the machine was a Windows XP machine. I want to delete most of these files but Ubuntu won't let me.

The procedure I'm following is as follows,
* I single left click on the folder or file that I want to delete.
* I press the [Del] key on the keyboard.
* I get a message "Cannot move file to the Deleted Items folder, do you want to delete it permanently?"
*I mouse click the on-screen "Delete" button.
This brings up an on-screen message "Error wile deleting <filename> cannot be deleted because it is on a read-only disk."

If I right-click on a folder that I wish to delete and select "Properties" then select the Permissions" tab, all the options are greyed out. At the bottom of the box is the message "You are not the owner, so you can't change these permissions".

Grateful for any advice as to how to permit myself to delete these files.

Thanks,
Gwynn

Last edited by gwynn; 06-07-2007 at 12:23 PM.
 
Old 06-07-2007, 11:50 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Your filesystem on that disk/partition is probably ntfs and it's more than likely mounted read-only.

There is a 'tool' (it's called ntfs-3g) that you can install and will allow you to read/write ntfs partitions. I've never used it however, so not sure how it works

As an alternative, make a backup of the disk/partition, reformat it as ext3, reiser or whatever and place the documents that you want to keep back. For a Linux-only system that would have my preference.
 
Old 06-07-2007, 11:55 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Open a terminal and go to the /mnt folder:
cd /mnt
ls

You should see some pre-set mount points for the various partitions---one of these will be for the "D Drive". You should be able to mount it using:
mount <mountpoint>
Then, cd <mountpoint> and ls to see what's there.

Once you find the files, do ls -l to see owner and permission.

At least on my system, I cannot directly change owner and permissions for NTFS files. You may have to simply delete the files as root. (su to become root)
 
Old 06-07-2007, 12:54 PM   #4
gwynn
LQ Newbie
 
Registered: Jun 2004
Location: Abergavenny
Distribution: Ubuntu 7.04
Posts: 8

Original Poster
Rep: Reputation: 0
Hi there. Thanks for that.
How do I open a terminal? This is all very VERY new to me.
Gwynn.
 
Old 06-07-2007, 01:08 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Applications > Accessories > Terminal
 
Old 06-07-2007, 01:21 PM   #6
gwynn
LQ Newbie
 
Registered: Jun 2004
Location: Abergavenny
Distribution: Ubuntu 7.04
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for that. This is all new to me. :-)
 
  


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
Need some quick help removing/deleting folders Tenover Linux - General 5 05-02-2007 10:42 PM
Command to copy files/folders but skip bad/corrupt files?? leemoreau Linux - Newbie 2 04-02-2007 02:27 PM
Why doesn't chmod +t stop others from deleting my files in Ubuntu HGeneAnthony Linux - General 4 10-27-2006 04:04 PM
deleting folders with files jayukanna Linux - General 4 08-23-2006 03:28 PM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM

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

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