You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails (in the above a example because /etc/foo/ssh wasn't readabe by someuser), the mount point remains in a state like:
d????????? ? ? ? ? ? /mnt
which does not happen if drop_privileges is not used.
It dos not show up in /proc/mounts but does so in /proc/self/mountinfo as `someuser´.
Repeating the mount, even when the permission problem has been solved, while it's still in that ???? state, causes:
fuse: failed to access mountpoint /mnt: Transport endpoint is not connected
Only way to clean that up is to call an umount on the mountpoint.
Would be nice if the failed mount could be cleaned up, even if drop_privileges, which is important if one e.g. wants to use setuid=user but on a dir that is not owned by user, with the background, that some process should not be able to write into that location, when it's not mounted (in order to catch that error).
Thanks,
Chris.
The text was updated successfully, but these errors were encountered:
Hey.
When mounting a filesystem via e.g.:
fails (in the above a example because
/etc/foo/ssh
wasn't readabe bysomeuser
), the mount point remains in a state like:which does not happen if
drop_privileges
is not used.It dos not show up in
/proc/mounts
but does so in/proc/self/mountinfo
as `someuser´.Repeating the mount, even when the permission problem has been solved, while it's still in that
????
state, causes:Only way to clean that up is to call an
umount
on the mountpoint.Would be nice if the failed mount could be cleaned up, even if
drop_privileges
, which is important if one e.g. wants to usesetuid=user
but on a dir that is not owned byuser
, with the background, that some process should not be able to write into that location, when it's not mounted (in order to catch that error).Thanks,
Chris.
The text was updated successfully, but these errors were encountered: