[systemd-bugs] [Bug 73809] systemd --user mount targets with -t option fails due to lack of root privileges
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun May 1 16:02:54 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=73809
--- Comment #5 from Dmitrii S. <fw.dmitry at yandex.ru> ---
Hi,
Any update on this issue? I've got a similar use case that requires mount
options to be passed but, at the same time, I don't need systemd to use
'mount', rather, I need it to use sshfs (or fusermount) so the operation can be
performed with user permissions:
systemctl --user start home-administrator-Calibre\\x2dssh.mount
май 01 18:19:00 UX32LN systemd[3196]: Reloading.
май 01 18:19:16 UX32LN systemd[3196]: home-administrator-Calibre\x2dssh.mount:
Directory /home/administrator/Calibre-ssh to mount over is not empty, mounting
anyway.
май 01 18:19:16 UX32LN systemd[3196]: Mounting Mount calibre library directory
via sshfs...
май 01 18:19:16 UX32LN mount[11031]: mount: only root can use "--options"
option
май 01 18:19:16 UX32LN systemd[3196]: home-administrator-Calibre\x2dssh.mount:
Mount process exited, code=exited status=1
май 01 18:19:16 UX32LN systemd[3196]: Failed to mount Mount calibre library
directory via sshfs.
май 01 18:19:16 UX32LN systemd[3196]: home-administrator-Calibre\x2dssh.mount:
Unit entered failed state.
home-administrator-Calibre\x2dssh.mount:
[Unit]
Description=Mount calibre library directory via sshfs
[Mount]
What=<my_server>:<my_path>
Where=/home/administrator/Calibre-ssh
Type=fuse.sshfs
Options=reconnect,nonempty,_netdev,noauto,nofail,delay_connect,IdentityFile=<id_path>,user
TimeoutSec=10
[Install]
WantedBy=default.target
Thanks,
D.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-bugs/attachments/20160501/341fd848/attachment.html>
More information about the systemd-bugs
mailing list