LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-07-2006, 02:51 AM   #1
badbunny
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Kubuntu Gutsy
Posts: 95

Rep: Reputation: 15
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
 
Old 02-07-2006, 02:58 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
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).
 
Old 02-07-2006, 04:18 AM   #3
badbunny
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Kubuntu Gutsy
Posts: 95

Original Poster
Rep: Reputation: 15
It was defaults, didn't work any better. I just tried putting the rw there. The partition is FAT, and is hda4.
 
Old 02-07-2006, 09:58 AM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
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

Last edited by aysiu; 02-07-2006 at 10:00 AM.
 
Old 02-07-2006, 01:14 PM   #5
badbunny
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Kubuntu Gutsy
Posts: 95

Original Poster
Rep: Reputation: 15
Thank you, Aysiu. That worked like charm. Seems like I need to do a little reading on umask.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HOWTO - Write Access to NTFS Partitions mac57 Mandriva 19 09-26-2005 12:11 AM
Let users write to windows partitions hobz Linux - General 4 05-29-2005 02:02 PM
Allowing normal users read-write access to Windows partitions Aphex_Twin2 Slackware 5 05-23-2005 09:22 AM
Mounting NTFS partitions with write access Tinky1901 Debian 13 04-09-2005 09:22 AM
Does captive support write access for Win2k NTFS partitions? dreamtheater Linux - Software 1 03-09-2004 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration