Re: fuse-sshfs and x-systemd.automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 16.08.20 um 07:51 schrieb Andrei Borzenkov:
> 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

works, but changes the owner to root and inherits chmod 755 from the
remote diretory and so *everyone* can access it, mode is not supported

fuse: unknown option(s): `-o mode=0700'

noauto,user,rw,noexec,nosuid,nodev,noatime,uid=harry,gid=verwaltung,allow_other,x-systemd.automount

> how is it relevant to systemd?

how is it not given it#s a systemd-option and what is your f** problem?

>> 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@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@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@arrakis:/ fuse.sshfs  126G     58G   68G   47% /mnt/arrakis
>>
>> [harry@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@srv-rhsoft:~]$
>>
>> -----------------------------------
>>
>> Expected:
>>
>> [harry@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@arrakis:/ fuse.sshfs  126G     58G   68G   47% /mnt/arrakis
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux