You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'm more than happy to try and fix it but what you're doing is quite
complex. I didn't realise you were compiling python into an executable. Any
clues in the process you're using? I'm a sysadmin/systems programmer so a
few small clues should go a long way
Activity
MartinSahlen commentedon Mar 6, 2018
I haven't gotten this issue myself, what system / OS are you running this on?
kevin-thorpe commentedon Mar 8, 2018
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
MartinSahlen commentedon Mar 16, 2018
I’m not sure what might be causing this, feel free to look into it and suggest a fix, I will merge at will.
kevin-thorpe commentedon Mar 16, 2018
MartinSahlen commentedon Mar 22, 2018
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!