LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2004, 03:31 AM   #1
unosaso
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
Question Mounting Partitons works with root a/c but not user


I am running slack 10, kernel 2.6.7

slack automatically mounts all my partitions & i am able to use it only as a root user. I've been denied access when i try to access with my user a/c.

Pls tell me how to access windows partions when i am not root.

Thankz
 
Old 07-25-2004, 03:35 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Part of my fstab, this works with any user and doesn't give permission to others.

/dev/hdb1 /win/c ntfs noauto,gid=100,user,umask=007 1 0
/dev/hdb2 /win/d vfat noauto,gid=100,user,umask=007 1 0

I'll explain the parameters i gave:
noauto means that i shouldn't mount when boot, you can remove it and the partitions will be mounted on boot.
gid = 100 means that the group owner of that dirs is 100 (100 is users on slack default install)
user allows a ordinary user to mount it
umask = 007 means that the files have read, write, execute permissions for owner and group, nothing for others (it's the opposite to chmod numbers)

Of course, change to match your drivers & mount points

Edit: forgot to say, if you have a doubt just: man fstab

Last edited by gbonvehi; 07-25-2004 at 03:53 AM.
 
  


Reply



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
XMMS Works for root, not for user JazzMastaJim SUSE / openSUSE 6 11-20-2004 09:59 PM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 10:40 AM
Sound works as root but not as user? n0x Linux - Hardware 2 09-11-2004 07:27 AM
X only works with root user joe83 Slackware 14 09-06-2004 08:17 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM

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

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration