MartinSahlen/cloud-functions-python

Permissions issue on cloudfn folder

Opened this issue · 5 comments

Hello,
I have just started using the cloud-functions-python for the first time. I tried reading the documentation if I was configuring it wrong.
whenever I run the build command I get the permissions errors like:
IOError: [Errno 13] Permission denied: 'cloudfn/index.js'

but if i run it as root, it works fine. or if I recursively grant all permissions to all files in cloudfn folder.

I would really love, if a non root user could also build and deploy without permissions problem.

I haven't gotten this issue myself, what system / OS are you running this on?

Yep, I have this issue as well. CentOS 7. Heven't yet looked into the reason but the cloudfn folder is created as root.root 0755

I’m not sure what might be causing this, feel free to look into it and suggest a fix, I will merge at will.

I'm sorry to be so slow - but I dont get notifications for some reason @kevin-thorpe . I'm using https://www.pyinstaller.org/ to compile it!