I'm using Fedora core 8, and I have a file containing an ext3 filesystem I want to mount during bootup, but get a 'permission denied' error. Here is the entry in /etc/fstab:
/mnt/data/.filename /home/user/mntpoint ext3 loop,user,defaults 0 0
/mnt/data is the mountpoint of an NTFS partition whose fstab entry occurs above the one for the file, and which mounts correctly.
With the above entry in fstab, the command
mounts the filesystem when I execute it after logging in. root is also able to execute that command successfully. But during boot I get the message:
/mnt/data/.filename: permission denied
/mnt/data is normally mounted with me as the owner and permissions rwxrwxrwx. I tried mounting it with root as the owner and the same permissions, but got the same error message. I also tried changing the mountpoint to /mnt/mntpoint (owned by root rather than me), but still got the same message.
If root executes 'mount -a' from a terminal when /mnt/data is not mounted, then /mnt/data/.filename mounts successfully. The permission error only occurs during boot. What else could be affecting the permissions here?