LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-04-2003, 06:34 PM   #1
majeztik
Member
 
Registered: Apr 2003
Location: Sydney
Distribution: Gentoo
Posts: 56

Rep: Reputation: 15
Writing to hdd's


Hey Guys, i just recently unplugged myself from the microsoft matrix. I have mounted my FAT32 drives in my box, i can read to them as anyone, but i can only write to it as a root.

As far as permissions are concerned, i only know basic folder permissions.

Any help would be great.
 
Old 08-04-2003, 06:46 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It has been discussed here very thorough before, the hint is you need to edit /etc/fstab file where there is (are) entry(ies) for windows partition(s) you need to add an option user
like the following
/dev/hda1 /mnt/cdrive vfat user,other options 0 0
This is assuming the windows partition resides on /dev/hda1 block device and the mount point /mnt/cdrive is where you mount it normally and it exists on the system.
 
Old 08-04-2003, 06:49 PM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
To give everyone read and write permissions get root permissions and type 'chmod 777 filename. Or if you are in a gui just right click on the file name select properties and there should be a tab for permissions and just give user write permissions.
 
Old 08-04-2003, 06:51 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi majeztik

Its the

umask = 000

option you need in the relevant /etc/fstab line

(just substitute in your Partition and Mount point in place of my example ones)


/dev/hda1 /mnt/windows vfat defaults,umask=000 0 0

Last edited by Skyline; 08-04-2003 at 06:54 PM.
 
Old 08-04-2003, 07:58 PM   #5
majeztik
Member
 
Registered: Apr 2003
Location: Sydney
Distribution: Gentoo
Posts: 56

Original Poster
Rep: Reputation: 15
thanks heaps for your help guys.
 
  


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
two HDD's silentkilla06 Linux - Newbie 1 11-14-2005 08:32 PM
copy 3 hdd's to 1 sum1else Fedora 14 09-16-2005 07:11 PM
Listing hdd's Sevoma Linux - General 8 02-10-2005 05:55 PM
problem with HDD's guest Linux - Newbie 5 07-06-2003 01:20 PM
using 2 hdd's on the same channel soulsniper Linux - Hardware 2 05-16-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:18 PM.

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
Open Source Consulting | Domain Registration