[artix-general] access to network drive - denies to root?

Chris Cromer cromer at artixlinux.org
Tue Jul 7 04:53:01 CEST 2020


https://unix.stackexchange.com/questions/59685/sshfs-mount-sudo-gets-permission-denied

On 7/6/20 10:28 PM, Ruben Safir via artix-general wrote:
> I have a drive mounted through sshfs
> 
> [ruben at flatbush 101___06]$ mount|grep sshfs
> ruben at home2:/usr/local/apache2/htdocs/ on /home/ruben/mnt4 type
> fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> 
> I can not access it with sudo which is bizzarre and unexpected
> 
> [ruben at flatbush 101___06]$ sudo ls -al  /home/ruben/mnt4/brooklyn/mv/
> ls: cannot access '/home/ruben/mnt4/brooklyn/mv/': Permission denied
> [ruben at flatbush 101___06]$ ls -al  /home/ruben/mnt4/brooklyn/mv/
> total 74965180
> drwxr-xr-x 1 ruben daemon      16384 Jul  6 22:25  .
> drwxr-xr-x 1 ruben    111       4096 Jul  4 10:52  ..
> -rw-r--r-- 1 ruben    111   83996672 May 18  2008
> 0.607_Star_Trek_TNG_-_6x07_-_Rascals.avi
> -rw-r--r-- 1 ruben    111   54562564 Jun 28  2008
> 06_-_SNL_-_Quentin_Tarantino_s_Welcome_Back_Kotter.mpeg
> ....
> 
> 
> 
> why is this?
> 

-- 
Chris Cromer
Artix Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xFA91071797BEEEC2.asc
Type: application/pgp-keys
Size: 38962 bytes
Desc: not available
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20200706/710d9068/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20200706/710d9068/attachment-0001.sig>


More information about the artix-general mailing list