<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd --user mount targets with -t option fails due to lack of root privileges"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73809#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd --user mount targets with -t option fails due to lack of root privileges"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73809">bug 73809</a>
from <span class="vcard"><a class="email" href="mailto:fw.dmitry@yandex.ru" title="Dmitrii S. <fw.dmitry@yandex.ru>"> <span class="fn">Dmitrii S.</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>