LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2005, 01:01 AM   #1
NoUse4ANick
LQ Newbie
 
Registered: Oct 2005
Location: Bellingham WA
Distribution: SUSE 10.0, will try others later =)
Posts: 24

Rep: Reputation: 15
SUSE 10.0: mounting drives for users


First of all I am a noob, this is really my first linux box and I have a couple of books coming to help with commands and the such, but I need some understanding about the flags used with mounting dives and partitions.

Ok, here is the situation: I have this box that has an 80 gig drive on it split into 4 partitions: a 4 gig, 10 gig, 2 gig, and the rest (about 60 or so, formatted as fat). I am using the 60+/- partition for 'personal files' and downloads. I FINALLY got SUSE to mount the drive correctly to give me full access to the drive (using the uid=(my user id numb)).

My question is this: is there anyway to mount this drive to make it accessible to anyone who has an account on this computer? Is this done with the gid? If so doesn't this open some possible security risks to network attacks?

Thanks for any info you guys can provide =)

Art
 
Old 11-02-2005, 06:38 PM   #2
IamSpOOk
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 1
Normally, only the superuser can mount file systems. However,
when fstab contains the user option on a line, anybody can mount the
corresponding system. (This is from the man page: 'mount' )
 
Old 11-03-2005, 12:43 PM   #3
NoUse4ANick
LQ Newbie
 
Registered: Oct 2005
Location: Bellingham WA
Distribution: SUSE 10.0, will try others later =)
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by IamSpOOk
Normally, only the superuser can mount file systems. However,
when fstab contains the user option on a line, anybody can mount the
corresponding system. (This is from the man page: 'mount' )
Which user option are you talking about? Also I read somewhere that only certain options are supported by fat systems (I don't think that user was one of them). Thanks for your help =)

-Art
 
Old 11-06-2005, 05:14 PM   #4
IamSpOOk
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 1
There are two: literally "user" and "users". FAT has restrictions related to file attributes. I don't see those restrictions affecting the ability to mount the filesystem.
Just add 'user' or 'users' to your fstab file as described in the manual page for 'mount' and try it out.
 
  


Reply

Tags
fat, fstab, mount, root, user


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
Mounting NTFS drives in SuSE Dunkalis Linux - General 3 08-03-2005 05:16 PM
mounting drives ChopSueyX Slackware 18 12-01-2003 05:41 AM
users other than root mounting drives general4172 Linux - Hardware 2 09-23-2003 08:02 PM
CD-ROM.desktop on KDE desktop / mounting drives as users theabyyss Linux - General 2 02-22-2002 09:07 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM


All times are GMT -5. The time now is 05:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration