Linux - NewbieThis 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!
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.
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.
Using the two above lines the partitions are correctly mounted at startup.. The only problem now i have is that the first mount line makes the directory inaccesible to the user
I have tried to add the parameter users or user=alaios but then the partition is not mounted on boot time...
What should i do?
-I need the partition to be mounter on startup
-To be accessible from the user alaios.users
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
have you read the man page of mount? the man page will give you opions for vfat mounting, including what needs to be done, for the user to have read/write access to the mounted drive.
you can mount as rood, and try accessing as the user
include all the opions you need (our of mount's man page) and off you go :-)
Mount options for vfat
First of all, the mount options for fat are recognized. The dotsOK option is explicitly killed by vfat. Fur‐
thermore, there are
uni_xlate
Translate unhandled Unicode characters to special escaped sequences. This lets you backup and restore
filenames that are created with any Unicode characters. Without this option, a '?' is used when no trans‐
lation is possible. The escape character is ':' because it is otherwise illegal on the vfat filesystem.
The escape sequence that gets used, where u is the unicode character, is: ':', (u & 0x3f), ((u>>6) &
0x3f), (u>>12).
posix Allow two files with names that only differ in case.
nonumtail
First try to make a short name without sequence number, before trying name~num.ext.
utf8 UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled
for the filesystem with this option. If `uni_xlate' gets set, UTF8 gets disabled.
shortname=[lower|win95|winnt|mixed]
Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name
for a file exists, it will always be preferred display. There are four modes:
lower Force the short name to lower case upon display; store a long name when the short name is not all
upper case.
win95 Force the short name to upper case upon display; store a long name when the short name is not all
upper case.
winnt Display the shortname as is; store a long name when the short name is not all lower case or all
upper case.
mixed Display the short name as is; store a long name when the short name is not all upper case.
The default is "lower".
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
Quote:
snippets of man mount concerning fat/vfat
suid Allow set-user-identifier or set-group-identifier bits to
take effect.
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid
of the current process.)
umask=value
Set the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The
value is given in octal.
dmask=value
Set the umask applied to directories only. The default is the
umask of the current process. The value is given in octal.
fmask=value
Set the umask applied to regular files only. The default is the
umask of the current process. The value is given in octal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.