Commit a0fde453 authored by Mark Hymers's avatar Mark Hymers

Remember to set permissions

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent ae45599c
......@@ -32,3 +32,7 @@ if [ ! -d /dev/cpuset/sge ]; then
cp /dev/cpuset/cpuset.mems /dev/cpuset/sge/cpuset.mems
cp /dev/cpuset/cpuset.cpus /dev/cpuset/sge/cpuset.cpus
fi
if [ "$(stat --format '%U:%G' /dev/cpuset/sge)" != "sgeadmin:sgeadmin" ]; then
chown -R sgeadmin:sgeadmin /dev/cpuset/sge
fi
Markdown is supported
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