On Wed, 18.11.15 11:58, Igor Bukanov (i...@mir2.org) wrote: > 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@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?
We don't support that. Invoking user processes from a system context is something we generally avoid. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel