Skip to content

Commit 174ed26

Browse files
authored
Merge pull request #5 from 2m/fix/home-permissions-2m
Change permissions for /github/home
2 parents da5e9cf + e096f05 commit 174ed26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pkgbuild_dir=$(readlink $pkgname -f) # nicely cleans up path, ie. ///dsq/dqsdsq/
3030
# set the owner of $pkgbuild_dir to the 'build' user, so it can access package files.
3131
sudo chown -R build $pkgbuild_dir
3232

33+
# needs permissions so '/github/home/.config/yay' is accessible by yay
34+
sudo chown -R build /github/home
35+
3336
cd $pkgbuild_dir
3437

3538
pkgname="$(basename $pkgbuild_dir)" # keep quotes in case someone passes in a directory path with whitespaces...

0 commit comments

Comments
 (0)