MEPIS This forum is for the discussion of MEPIS Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-22-2005, 10:43 PM
|
#1
|
LQ Newbie
Registered: May 2005
Posts: 2
Rep:
|
fstab troubles
I recently installed Mepis 3.3.1 and have been having troubles setting up permissions on my hard drive partitions. Here's my fstab...
# Static entries below, do not use 'users' option in this area
/dev/hdc1 / reiserfs defaults,noatime,notail 0 0
/dev/hdc2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdc5 /home reiserfs defaults,noatime,notail 0 0
/dev/hdc6 /mnt/hdc6 reiserfs noauto,user,rw,exec,noatime,notail 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
Ideally I would like any user to be able to mount /dev/hdc6 as rw, but I've fiddled with fstab for a while and haven't been able to write to hdc6 from a normal account. Is something amis in my fstab? Any suggestions? Thanks in advance.
|
|
|
05-22-2005, 11:02 PM
|
#2
|
Member
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135
Rep:
|
Yep - you need to make sure that 'normal users' are in a group that allows writing to /mnt/hdc6.
The 'easiest' way to do this would be to make the permissions on this directory as drwxrwxrwx - so as root run 'chmod 777 /mnt/hdc6' and now everyone will be able to write to that directory.
Daniel
|
|
|
05-22-2005, 11:41 PM
|
#3
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
actually your fstab entry is wrong, its users not user
|
|
|
05-23-2005, 08:20 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
No, actually "user" is just fine. I've been using it in my fstab for years.
From the Unix man pages:
Common for all types of file system are the options ``noauto'' (do not mount when "mount -a" is given, e.g., at boot time), ``user'' (allow a user to mount), and ``owner'' (allow
device owner to mount), and ``_netdev'' (device requires network to be
available). The ``owner'' and ``_netdev'' options are Linux-specific.
For more details, see mount(8).
Last edited by masonm; 05-23-2005 at 08:24 PM.
|
|
|
All times are GMT -5. The time now is 11:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|