[systemd-devel] fuse-sshfs and x-systemd.automount

Andrei Borzenkov arvidjaar at gmail.com
Sun Aug 16 05:51:19 UTC 2020


15.08.2020 23:56, Reindl Harald пишет:
> is it a bug or a concept issue that it's mounted fpr root instead auf
> the user given with uid or is there just a param i am not aware mising?
> 

allow_other

how is it relevant to systemd?

> there are 20 mountpoints of that style and automount would be really cool
> 
> i wouldn't even mind if touching by root would mount it for mewith root
> having no access as expected for fuse-mounts of that style
> 
> they are all excluded for mlocate
> 
> -----------------------------------
> 
> sshfs#reindl at arrakis:/ /mnt/arrakis fuse
> noauto,user,rw,noexec,nosuid,nodev,noatime,uid=harry,gid=verwaltung,x-systemd.automount
> 
> -----------------------------------
> 
> Aug 15 22:43:46 srv-rhsoft systemd[1]: Set up automount
> mnt-arrakis.automount.
> Aug 15 22:43:51 srv-rhsoft systemd[1]: mnt-arrakis.automount: Got
> automount request for /mnt/arrakis, triggered by 47290 (ls)
> Aug 15 22:43:51 srv-rhsoft systemd[1]: Mounting /mnt/arrakis...
> Aug 15 22:43:51 srv-rhsoft kernel: fuse: init (API version 7.31)
> Aug 15 22:43:51 srv-rhsoft systemd[1]: Mounting FUSE Control File System...
> Aug 15 22:43:51 srv-rhsoft systemd[1]: Mounted FUSE Control File System.
> Aug 15 22:43:52 srv-rhsoft systemd[1]: Mounted /mnt/arrakis.
> 
> [root at srv-rhsoft:~]$ df
> Dateisystem      Typ        Größe Benutzt Verf. Verw% Eingehängt auf
> /dev/md1         ext4         29G    7,6G   22G   27% /
> /dev/md2         ext4        3,6T    1,2T  2,5T   33% /mnt/data
> reindl at arrakis:/ fuse.sshfs  126G     58G   68G   47% /mnt/arrakis
> 
> [harry at srv-rhsoft:~]$ df
> Dateisystem    Typ  Größe Benutzt Verf. Verw% Eingehängt auf
> /dev/md1       ext4   29G    7,6G   22G   27% /
> /dev/md2       ext4  3,6T    1,2T  2,5T   33% /mnt/data
> [harry at srv-rhsoft:~]$
> 
> -----------------------------------
> 
> Expected:
> 
> [harry at srv-rhsoft:~]$ df
> Dateisystem      Typ        Größe Benutzt Verf. Verw% Eingehängt auf
> /dev/md1         ext4         29G    7,6G   22G   27% /
> /dev/md2         ext4        3,6T    1,2T  2,5T   33% /mnt/data
> reindl at arrakis:/ fuse.sshfs  126G     58G   68G   47% /mnt/arrakis
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 



More information about the systemd-devel mailing list