System: Fedora Core 5, kernel-2.6.16-1.2096_FC5, autofs-4.1.4-19 SELinux = disabled. I have a fat32 which should be auto-mounted with owner 'user' at startup, but Fedora Core 5 only mounts it for 'root' , disregarding my entry in /etc/fstab. This is the respective entry in my /etc/fstab: /dev/hda7 /mnt/windows_e vfat auto,user,exec,umask=0022 0 0 If I unmount the parition (as root), I can remount it as user anytime. Additionally, I can set fstab options uid=500, gid=500 to have it mounted for me as the prime user. The above fstab entry has worked for FC3 without any problems, now FC5 screws it up - but why?
First, you've filed this bug against the wrong component. Autofs is an automounter implementation which operates off of its own set of configuration files (auto.master, etc.). Next, You specify "auto" in your mount options. If you don't want the partition to be mounted at boot, you should specify "noauto". I don't know why the behaviour has changed. I'll re-assign this to util-linux for you. Regards, Jeff
Sorry if I hanve not made that point clear enough: I want the fat32 partition to be auto-mounted at boot time, but for owner='user' and _not_ for 'root'. That has worked with FC3 and now doesn't work with FC5.
Please, read the mount man page. /dev/hda7 /mnt/windows_e vfat auto,user,exec,umask=0022 0 0 This entry means that arbitrary user is able to mount the device. At boot time it's user "root" who mounts the device. The option owner='username' allows to mount the device by user if he is the owner of the device. I think you should remove 'auto' option and mount the device by hand (or by automounter or whatever) under non-root user.