From: Gerard J. Cerchio <gjpc@ci...> - 2006-06-24 18:43:28
I am trying to mount a fuse file system on a node within an operating
fuse file system.
I have applied the "-o nonempty" option to both invocations of my fuse
The first invocation has a mount point of "/mnt/fuse", that file system
has a node
"/Media1/MAFS_Volume". All nodes have permissions set to 0777. All
set to the same UID & GID.
I am trying to mount the second invocation of the file system on
I get "fusermount: failed to access mount point /mnt/fuse: permission
when I try to mount the second invocation on the first invocation.
Is this a limitation within fuse?
Am I missing an addtional option when invoking the first or second mounts?
Gerard J. Cerchio wrote:
> I am trying to mount a fuse file system on a node within an operating
> fuse file system.
> I get "fusermount: failed to access mount point /mnt/fuse: permission
> when I try to mount the second invocation on the first invocation.
> Is this a limitation within fuse?
> Am I missing an addtional option when invoking the first or second mounts?
Fuse is a bit special in that even root doesn't have access to user
mounts. The program that actually performs the mount operation of a fuse
filesystem is fusermount, and it needs to run as root (it is installed
setuid root). So in the default configuration, fusermount doesn't have
access to the mountpoint if it is contained within another fuse
filesystem, and hence the "permission denied" error.
You need to mount the containing filesystem with the "allow_root"
option. This, in turn, requires the "user_allow_other" option to be set
in the configuration file /etc/fuse.conf.
Here's an example:
# sshfs -o allow_root server.domain:/home/share /net/share
# sshfs otherserver.domain:/home/othershare /net/share/other
Remove underscore and suffix in reply address for a timely response.
Get latest updates about Open Source Projects, Conferences and News.