From: Scott Worley Date: Sat, 21 Dec 2024 04:23:06 +0000 (-0800) Subject: When becoming other users, cd to / X-Git-Url: http://git.scottworley.com/auto-upgrade-with-pinch/commitdiff_plain/98604ba76ee41d5835d3f0d4ef76e7250d9f59c2?hp=98604ba76ee41d5835d3f0d4ef76e7250d9f59c2 When becoming other users, cd to / When building '', nix-build checks to see if there is a file literally called '' in the current directory (why?! it doesn't use it if there is one). If it can't access the current directory to do this check, it fails with the error message: error: filesystem error: symlink_status: Permission denied [/home/alice/] So we cd to a place where it can read the current directory. ---