Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-07-2012, 02:13 AM   #1
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,223

Rep: Reputation: 58
Preventing access to FAT partition

I have just set up dual booting to my new UEFI/GPT.

I have a concern that it seems that any user can mount and potentially modify files in the small boot partition used by UEFI/GPT at sdb1. The partition comes up on the list on the left in Dolphin

How do I set things so that this partition is hidden and users do not have access?

Old 09-07-2012, 08:56 AM   #2
Senior Member
Registered: Dec 2008
Posts: 1,044

Rep: Reputation: 150Reputation: 150
What about adding a line to "/etc/fstab"
/dev/your_partition  /some_mount_point  vfat   defaults,noauto 1 2
Old 09-07-2012, 11:18 AM   #3
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,223

Original Poster
Rep: Reputation: 58
I was thinking along the lines of
/dev/partition none nouser,defaults
Old 09-08-2012, 10:49 AM   #4
LQ Newbie
Registered: Sep 2010
Location: Germany
Distribution: Slackware
Posts: 28

Rep: Reputation: 30
"defaults" includes "nouser"

According to the manpage of "mount" and "fstab", "defaults" includes "nouser", so "nouser" is superfluous. However, "defaults" also includes "auto", which will mount the partition at boot time. Guanx solution prevents this behaviour. You might also want this partition to be mounted read-only via
/dev/partition /mountpoint vfat defaults,noauto,ro 1 2
so that mounting the partition in rw-mode requires explicit specification. This will force the superuser (i.e. you) to think twice before doing any modifications to this partition.

For more information, see
$ man fstab 
$ man mount

Last edited by tc_; 09-08-2012 at 10:56 AM. Reason: added read-only comment


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
How to access windows partition (NTFS/FAT ) from linux ? vishwajeet Linux - Newbie 5 03-03-2011 11:18 AM
how to access fat and ntfs partition agrsen_deepak Linux - Newbie 2 01-27-2010 01:19 AM
Non-root user has read-only access to fat-c partition Ook Slackware 12 05-25-2007 08:49 AM
can't access fat partition with normal user account gilebo Linux - Newbie 4 04-27-2006 11:42 AM
How do I access a FAT partition in Linux slice4e Linux - Newbie 6 09-04-2003 06:40 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 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