mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
15 lines
384 B
Bash
Executable File
15 lines
384 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
PROJECT=$1
|
|
shift
|
|
|
|
# Avoid the /nonexistent home directory in nobody's /etc/passwd entry.
|
|
usermod --home /tmp/nobody nobody
|
|
|
|
# Grant read access to nobody, the user which will eventually try to test this
|
|
# checkout.
|
|
mv "${PROJECT}" /tmp/project
|
|
|
|
# Python build/install toolchain wants to write to the source checkout, too.
|
|
chown --recursive nobody:nogroup /tmp/project
|