google-drive-ocamlfuse icon indicating copy to clipboard operation
google-drive-ocamlfuse copied to clipboard

Get permission denied when writing to GDrive via uwsgi when run as a service

Open eric-gilbertson opened this issue 4 years ago • 1 comments

Any insight as to why I get permission denied when writing to a GDrive folder via ocamlfuse when it is run as an Ubuntu uswgi service? I have confirmed that the service is running as the same user that mounted GDrive using getpass.getuser() and that the write works when usgi is started from the command line as said user. I realize that this issue is related to my service configuration but I was hoping that you might be able to provide some help with getting this to work?

eric-gilbertson avatar Sep 05 '20 19:09 eric-gilbertson

Never mind, I get write access when invoking with the -o allow_other option, eg:

google-drive-ocamlfuse -o allow_other /home/ericg/GoogleDrive

eric-gilbertson avatar Sep 05 '20 21:09 eric-gilbertson