LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2001, 04:38 AM   #1
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Red face


Me again!

I have would like to know how I can mount my win98 partition under Linux so that all users have read/write access on it and not only the ‘root’ user.

P.S. Thanx for all the advice.
 
Old 05-27-2001, 07:46 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I *think* you can use the uid= and gid= options, for example
Code:
mount -t vfat -o uid=nobody,gid=users,noexec /dev/hda1 /somedir
I can't say for certain - I don't it myself though. Have alook at the mount manpage (man mount) for more details that might help. The noexec isn't strictly needed but you probably don't want to be able to attempt to execute anyold file from the partition anyway, not the best for security!

HTH

Jamie...
 
Old 05-29-2001, 10:07 AM   #3
mrl
Member
 
Registered: Apr 2001
Posts: 37

Rep: Reputation: 15
Talking or ..

HI FNC,



this is how I mount my windows partition. I do not know how secure it is - works though. this line from my /etc/fstab ...



/dev/hda1 /win vfat defaults 0 0



/dev/hda1 is the windoze partition and /win the mount point (needs to be created first). You may need to change the vfat if you are using that fat32 file system in doze.


HTH



Mike
 
Old 05-30-2001, 02:16 AM   #4
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
Thanx MRL

That is how my my drive is mounted at present, but only the "root" has r/w permition to the drive.

I need to mount the partition so that all users have r/w access.

Also, where can I find good documentation an /etc/fstab?
 
  


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
permissions/mount improverrr Ubuntu 6 12-21-2005 06:55 PM
mount permissions RTT Linux - Newbie 5 03-08-2004 11:13 AM
mount permissions KMcD Slackware 1 02-09-2004 05:48 AM
Mount Permissions Camasii Linux - General 2 12-08-2003 04:26 AM
Mount Permissions Odd_Bloke Linux - Newbie 2 08-26-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 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