LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Write access to windows partitions in kubuntu 5.10 (https://www.linuxquestions.org/questions/ubuntu-63/write-access-to-windows-partitions-in-kubuntu-5-10-a-412503/)

badbunny 02-07-2006 02:51 AM

Write access to windows partitions in kubuntu 5.10
 
Hello,
I recently changed from suse 10.0 to kubuntu 5.10 and everything is groovy. But I can not get write access to my windows partition, mounted at /windows/D. I have tried to sudo chown them, as well as changing the permissions via sudo konqueror, but all I get is the error "could not gain access". Fstab looks like this:

/dev/hda4 /windows/D vfat rw,user 0 0

satinet 02-07-2006 02:58 AM

what happens if you change the 'rw,user' to defaults?

also, you sure this is vfat partition rather than a ntfs persmission.

also check the permissions on /windows/d/ thought i dount that is the problem.

maybe do 'sudo cfdisk /dev/hda' to check what the partition is (and the number).

badbunny 02-07-2006 04:18 AM

It was defaults, didn't work any better. I just tried putting the rw there. The partition is FAT, and is hda4.

aysiu 02-07-2006 09:58 AM

Do this. Go to Applications > Accessories > Terminal and copy and paste these commands:
Code:

sudo umount /windows/D
sudo cp /etc/fstab /etc/fstab_backup
sudo nano /etc/fstab

Replace this line:
Code:

/dev/hda4 /windows/D vfat rw,user 0 0
with this line:
Code:

/dev/hda4 /windows/D vfat iocharset=utf8,umask=000 0 0
Then save (control-x), confirm (y), and exit (Enter). Finally, type
Code:

sudo mount -a

badbunny 02-07-2006 01:14 PM

Thank you, Aysiu. That worked like charm. Seems like I need to do a little reading on umask.


All times are GMT -5. The time now is 11:17 PM.