Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
Open a terminal and go to the /mnt folder: cd /mnt
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)