Ask Your Question

Setting default mount options for FAT filesystems

asked 2012-10-17 08:17:01 -0500

larsks gravatar image

updated 2014-09-28 13:04:28 -0500

mether gravatar image

When I attach a FAT-formatted USB drive to my Fedora system, it gets mounted automatically. This is super convenient! But Fedora mounts it such that files and directories are world-readable...which, if you're trying to store ssh keys on a FAT-formatted thumb drive, is a problem.

I would like to set the dmask and fmask mount options that Fedora uses when automatically mounting FAT devices. How do I do this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-17 20:22:14 -0500

r00t Egy gravatar image

Mounting with specific permissions and Avoiding fstab - automounting a specific disk with udev take a look here Maybe This Will Help

Good luck :)

edit flag offensive delete link more

Question Tools


Asked: 2012-10-17 08:17:01 -0500

Seen: 884 times

Last updated: Oct 17 '12