kubernetes-gcs-sftp icon indicating copy to clipboard operation
kubernetes-gcs-sftp copied to clipboard

Fix mount errors

Open paul-nortal opened this issue 5 years ago • 1 comments

This is a fix for the following 2 errors:

  • The partner1/partner2 -l params to runuser don't map to users in users.conf
  • The lack of chmod 666 /dev/fuse was causing this an error:
[/entrypoint] Running /etc/sftp.d/gcs-mounts.sh ...
Using mount point: /home/user1/ftp
Opening GCS connection...
Opening bucket...
Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1

stderr:
fusermount: failed to open /dev/fuse: Permission denied

/entrypoint: Error on line 81: $f

paul-nortal avatar Aug 14 '19 16:08 paul-nortal

@mikeghen thanks for putting that together! It helps..

paul-nortal avatar Aug 14 '19 16:08 paul-nortal