[systemd-devel] automount and user
Igor Bukanov
igor at mir2.org
Wed Nov 18 02:58:19 PST 2015
Hello,
I am trying to translate an autofs map into systemd unit files, but I
could not see how to pass to the mount command an option refering to
the user who accessed the mount dir. For example, the automap
contains:
/mount/dir -fstype=fuse.sshfs,...,id=$UID,gid=$GID remote_user at host:/dir
which mounts /mount/dir as the user whose process accessed /mount/dir
first. How do I simulate this with systemd mount/automount units?
Thanks, Igor
More information about the systemd-devel
mailing list