3

I have dual booted with XP and Ubuntu 11.04. Later I formatted Ubuntu partition with 11.10 now I have three drives one for XP other for UBUNTU and other for data when I log in into UBUNTU I am unable to create or delete the all files in the other two drives (XP drive and data drive).

Is there any way to change permissions to the entire drive?

I am unable to change permission by GUI (properties option).

Jorge Castro
  • 71,754
VENKI
  • 568

1 Answers1

6

The method you use to set permissions varies with the file system.

For linux permissions it is chown/chmod , but I am guessing you are asking about ntfs.

For ntfs, edit the appropriate line in /etc/fstab add in the permissions option

UUID=12102C02102CEB83 /media/windows ntfs-3g auto,users,permissions 0 0

Change your UUID to your NTFS partition , you can list it with

sudo blkid

You then re-mount the partition and use chown and chmod

sudo chown your_user:your_user /media/windows
sudo chmod 770 /media/windows

If you want a graphical tool, use PySDM

sudo apt-get install pysdm

PySDM

See also Ubuntu Wiki File permissions

Panther
  • 102,067
  • is it possible to do it by using gparted – VENKI Dec 15 '11 at 20:58
  • no, gparted is a graphical front end for managing partitions - making them, resizing them, etc, but not for managing files or file permissions. – Panther Dec 15 '11 at 21:01
  • i am unable to unmark the option mount the drive with read-only mode little help please how to change the drive from READ MODE to CREATE OR DELETE mode – VENKI Dec 15 '11 at 21:33
  • in my permission menu i have both owner and the group as root – VENKI Dec 15 '11 at 21:35
  • What "permission menu" ? Did you make the change in fstab ? psydm ? – Panther Dec 15 '11 at 22:00
  • in properties window permissions tab – VENKI Dec 16 '11 at 01:46
  • and sorry will you please tell me how to change permissions using psydm – VENKI Dec 16 '11 at 01:47
  • You will need to make the edit I suggested to fstab , unmount the partition, and mount it again (for the changes to fstab to be applied). Then you can try either gksu nautilus --no-desktop or the chown / chmod commands w/ sudo. – Panther Dec 16 '11 at 01:49
  • after done this i restarted the system then i am getting "serious errors were found while checking the disk drive for /media/sda3 press I to ignore, S to skip or M for manual recovery" errors each time when i am starting the system – VENKI Dec 16 '11 at 15:12
  • @VENKI That sounds like a new problem, and not what I would expect. Post the line you used from fstab and you might want to start a new question. – Panther Dec 16 '11 at 16:32
  • hmm thanks for the help i am able to gain permissions. – VENKI Dec 16 '11 at 17:10
  • Only the 'fstab' bit of this answer is helpful. As for the resto of it - you could have put "google it!" just as well. PySDM is far from self explanatory and the Wiki is the usual Terminal nightmare. – Bucic Nov 09 '12 at 21:15