Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2006, 12:54 PM   #1
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Rep: Reputation: 15
problems with fstab

Want to mount a disk so that all users can access it i.e. write to it
but when i put it in /etc/fstab it only lets root write to the disk how can i get around this so that any user can write to it, as I specify
Old 11-24-2006, 12:59 PM   #2
Samhain Slackbuild Maintainer
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
You should only need to add this: umask=000
For example I had a windows partition on a dual boot with a stanza like this:
/dev/hda1 /windows vfat defaults,umask=000 1 0

The umask=000 tells it to give 777 permissions for files on that partition. This not wise for the root system. The 777 should be a separate place for "common" items. Otherwise it's a real security hazard. Windows is a security hazard so it gets 777 permissions

Last edited by meetscott; 11-24-2006 at 01:03 PM.
Old 11-24-2006, 01:00 PM   #3
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
" chown myusr:mygroup", "chmod g+w"

Hi -

You mount your disk (e.g. "/dev/hda4") to some "mount point" (e.g. "/mnt/mystuff").

Make sure your mount point has user, group and access permissions set for read/write ("chown" and "chmod" commands).

It's probably a Bad Idea to give universal read/write access to your root ("/") directory: the "/" directory should ONLY be writeable by the "root" user.

'Hope that helps .. PSM


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
Are there problems with my fstab cheetahman SUSE / openSUSE 3 03-26-2005 04:17 AM
problems with fstab gbj Linux - Hardware 5 03-08-2004 12:59 AM
same fstab, new problems pe2338 Debian 16 08-30-2003 10:02 AM
fstab problems h8r Linux - General 6 03-09-2003 07:15 PM
Problems in fstab! marksstroud Linux - Newbie 2 10-27-2001 08:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration