![]() Change the ownership of the directory with the chown command before trying to write to it.Create a folder that the user running the build has permissions to.There are a couple of possible solutions to this issue: To confirm the user your build runs as has proper permissions, you can run the whoami command within your build process. This is not unique to CI and is true by default in almost all Linux/Unix environments. ![]() These users only have write permissions in their $HOME folders and places like /tmp. This is a somewhat common pitfall that many users run into when moving into a CI environment.īuilds run as the distiller user on MacOS and typically ubunutu on Linux. If you receive an error telling you that you do not have permissions to create a directory or to write a file to a directory, this is likely an indication that your script is attempting to write to a directory that you do not own.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |