Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

fstab

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 11-27-03, 08:41 AM Thread Starter   #1
UnseenMenace
UnseenModerator

 
UnseenMenace's Avatar 

Join Date: Apr 2001

10 Year Badge
 
fstab


Im having trouble with a fstab file ...

I installed SuSE on a dual booting system on a 120gb drive partitioned 50 -50 with WinXP... Windows XP was converted to VFat using partition magic so that It could be wriiten to using the Linux partition (however I can not write to it unless I have root permissions)

Heres the unedited fstab... please help, pray, do what you need to save me

/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,unmask=0002,nls=iso8859-1 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

__________________
one M15x is never enough
UnseenMenace is offline   QUOTE Thanks
Old 11-27-03, 08:41 AM Thread Starter   #2
UnseenMenace
UnseenModerator

 
UnseenMenace's Avatar 

Join Date: Apr 2001

10 Year Badge
 
the fstab has seriously been edited since, but withour success

__________________
one M15x is never enough
UnseenMenace is offline   QUOTE Thanks
Old 11-27-03, 10:01 AM   #3
jajmon
Member

 
jajmon's Avatar 

Join Date: Apr 2002
Location: Burnsville, Minnesota

 
Shouldn't say 'rw' where it says 'ro' in this line?

/dev/hda1 /windows/C ntfs ro,users,gid=users,unmask=0002,nls=iso8859-1 0 0
jajmon is offline   QUOTE Thanks
Old 11-27-03, 10:11 AM   #4
Titan386
Senior Member

 
Titan386's Avatar 

Join Date: Jun 2002

 
Something like:

Code:
/dev/hda1 /windows/C vfat rw,gid=users,umask=000 0 0
should allow everyone to have full access to the drive.
Titan386 is offline   QUOTE Thanks
Old 11-27-03, 11:43 AM   #5
Christoph
JAPH Senior

 
Christoph's Avatar 

Join Date: Oct 2001
Location: Redmond, WA

 
Note that with Titan's method you'll have to mount the partition as a non-root user in the group "users" if you want that user to have access to it. If you're not sure if you're in that group, do cat /etc/group|grep users (you may want /etc/groups).

__________________
FoldSig | Heatware | Alt OS FAQWiki | JAPH | ADO

"Coming onto the forums after you've had a concussion is prolly not a good idea, but I'm doin' it anyways!"
-dark_15
Christoph is offline   QUOTE Thanks
Old 11-27-03, 11:53 AM   #6
Titan386
Senior Member

 
Titan386's Avatar 

Join Date: Jun 2002

 
Hmm, I'm pretty sure that the partition would be mounted upon boot. Only root would be able to (re)mount it, as I don't specify the "user" option. The "gid=" option will make all the files on that partition owned by the group "users", but the umask I picked should allow full access for those users not in that group. Last time I used Suse, all the user-created accounts are automagically (provided you don't add them manually via useradd) members of the users groups anyway.
Titan386 is offline   QUOTE Thanks
Old 11-28-03, 01:54 AM   #7
Christoph
JAPH Senior

 
Christoph's Avatar 

Join Date: Oct 2001
Location: Redmond, WA

 
Sorry. I assumed that the gid=group option was the same as the user option.

__________________
FoldSig | Heatware | Alt OS FAQWiki | JAPH | ADO

"Coming onto the forums after you've had a concussion is prolly not a good idea, but I'm doin' it anyways!"
-dark_15
Christoph is offline   QUOTE Thanks
Old 12-05-03, 04:40 AM Thread Starter   #8
UnseenMenace
UnseenModerator

 
UnseenMenace's Avatar 

Join Date: Apr 2001

10 Year Badge
 
Quote:
Originally posted by Titan386
Something like:

Code:
/dev/hda1 /windows/C vfat rw,gid=users,umask=000 0 0
should allow everyone to have full access to the drive.
This makes no difference at all, I can still only write to the drive with root permissions

Any more ideas.. is there anything else I need to edit ?

__________________
one M15x is never enough
UnseenMenace is offline   QUOTE Thanks
Old 12-05-03, 05:26 AM Thread Starter   #9
UnseenMenace
UnseenModerator

 
UnseenMenace's Avatar 

Join Date: Apr 2001

10 Year Badge
 
Do i need to re-mount the drive or edit user groups... advice on how to do anything required would be most helpfull

__________________
one M15x is never enough
UnseenMenace is offline   QUOTE Thanks
Old 12-05-03, 02:29 PM   #10
Titan386
Senior Member

 
Titan386's Avatar 

Join Date: Jun 2002

 
The drive will need to be remounted for the new ftstab options to take effect. You can either reboot, or unmount and remount it manually:

umount /windows/C
mount /dev/hda1 /windows/C -o rw,gid=users,umask=000


Note that that portion of the mount command following the -o is the same as the "options" section of your fstab.

I'm assuming that the users you want to be able to access the drive are in the "users" group. I think that should already be done for you in Suse.
Titan386 is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 05:22 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?