mount a DOS partition with all permissions for users

Support knowledgebase (kfr_18)
Applies to

SuSE Linux: All versions

Request:

How to mount a DOS partition with the possibility to give the permissions to all users to read and write on this partition?

How is a "normal" user able to mount a filesystem?

Procedure:

In the file /etc/fstab you can enter the mount option umask, to extend the permission access mask for all users:
/dev/sda1   /dosc   msdos   umask=000
To allow all users to mount a filesystem it is necessary to add the following option in the file /etc/fstab:
/dev/sda1   /dosc   msdos   user,umask=000
The option user does the required. If a user is able to mount a filesystem it isn´t possible per default to start programs from this filesystem. To change this use the option exec as follows:
/dev/sda1   /dosc   msdos   user,exec,umask=000
Afterwards a "normal" user is allowed to mount or umount a DOS filesystem and to start programs from this filesystem further on they have read and write permissions on this filesystem.
Keywords: DOS, MSDOS, UMASK, MOUNT, FSTAB, VFAT32, MOUNT, FILESYSTEM, USER, ROOT, PERMISSIONS

Categories: Other Operating Systems

SDB-kfr_18, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 05. Sep 2001
SuSE Linux AG - Last generated: 24. Apr 2002 by ast@suse.de SDB_CREATE: (sdb_gen 1.40.0)