View Full Version : Need to change file permissions

18th April 2006, 01:08 PM
I know the command for this is chown, but I want to change ownership to my user name for my Windows partition. I used chown -R in su terminal, but for every file I get a message that the operation cannot be performed.

How do I force it to change?

18th April 2006, 01:16 PM
You need to be root to chown anything that you don't already own.

18th April 2006, 01:20 PM
I tried it in root, using the su command is the same as going into root

18th April 2006, 01:55 PM
What does the fstab entry for this partition look like? You might have to edit that.

18th April 2006, 06:28 PM
Windows entry for fstab:

/dev/hda1 /home/rice/WinXP rw 0 0

18th April 2006, 07:30 PM
first of all, you left out the filesystem type in your entry

to set the ownership of the stuff on the partition, you set the uid and gid options like this (supposing that it is vfat and that your uid and gid are 500):

/dev/hda1 /home/rice/WinXP vfat uid=500,gid=500 0 0

19th April 2006, 12:33 PM
Thanks, that worked after rebooting.