Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-29-2003, 11:44 PM   #1
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Permission denied to drive when mounted at boot

I have a small FAT32 drive. When it gets mounted at boot, i cannot get into it with a normal user. All I have to do is unmount it, and remount as a normal user and everything is fine. Here is the fstab entry

/dev/hdb1 /mnt/storage vfat users,rw 0 0

Is there anything I could do to have it ready on boot without having to remount it?

Old 12-30-2003, 12:32 AM   #2
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
You could specify a umask and/or group ID settings. Options are umask=<something between 000 and 777 inclusive> and gid=<group name or number>. You don't NEED the group id bit but it can make the thing more secure or fine tune it.
Old 12-30-2003, 03:38 AM   #3
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
/dev/hdb1 /mnt/storage vfat noauto,users,rw 0 0
You can set it to NOT mount at boot, and your user will be able mount and umount whenever you want.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
partitioning a mounted drive or from a boot DVD bnj Linux - Newbie 5 05-20-2005 05:01 AM
cannot create symlinkoor change permission in a mounted fat32 drive Cii Linux - General 3 03-06-2005 01:44 PM
smbmount works but I get permission denied when access the drive jeickal Linux - Networking 0 12-17-2004 11:22 AM
cd drive: permission denied aje Slackware 5 11-11-2004 08:50 PM
Can't access mounted NFS directory: "permission denied" SparceMatrix Linux - General 6 03-08-2003 01:36 PM > Forums > Linux Forums > Linux - General

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