Commit 87c241a3 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add a /proj/images directory for OS image files.

parent 96d85647
......@@ -102,8 +102,18 @@ if (! chown($uid, $gid, "$PROJROOT/$pid/exp")) {
die("Could not chown $PROJROOT/$pid/exp to $uid/$gid: $!\n");
}
if (! mkdir("$PROJROOT/$pid/images", 0770)) {
die("Could not make directory $PROJROOT/$pid/images: $!\n");
}
if (! chmod(0770, "$PROJROOT/$pid/images")) {
die("Could not chmod directory $PROJROOT/$pid/images: $!\n");
}
if (! chown($uid, $gid, "$PROJROOT/$pid/images")) {
die("Could not chown $PROJROOT/$pid/images to $uid/$gid: $!\n");
}
#
# Make a few subdirs. If this gets long, make it a loop.
# Create a tftp directory for oskit kernels.
#
if (! mkdir("$TFTPROOT/proj/$pid", 0770)) {
die("Could not make directory $TFTPROOT/proj/$pid: $!\n");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment