Builder Permissions

From CDOT Wiki
Jump to: navigation, search
New Builder Images

PERMISSIONS!
chmod u+s /bin/su
chmod u+s /bin/ping
chmod u+s /bin/ping6
chmod u+s /sbin/mount.nfs
chmod u+s /sbin/unix_chkpwd
chmod u+s /usr/bin/newgrp
chmod u+s /usr/bin/passwd
chmod u+s /usr/bin/chage
chmod u+s /usr/bin/chfn
chmod u+s /usr/bin/gpasswd
chmod u+s /usr/sbin/userhelper
chmod u+s /usr/sbin/usernetctl
chmod 2775 -R /fs0/
chown -R :mock /fs0/

Symlinks
ln -s /fs0/mock/lib/mock/ /var/lib
rm -rf /tmp/koji ; mkdir /fs0/tmp-koji ; ln -s /fs0/tmp-koji/ /tmp/koji
rm -rf /var/log/kojid.log ; touch /fs0/log-koji/kojid.log ; ln -s /fs0/log-koji/kojid.log /var/log/kojid.log
rm -rf /var/log/koji ; mkdir /fs0/log-koji/koji ; ln -s /fs0/log-koji/koji /var/log/koji

Command For making fs0.ext3 (Australia)

mkdir /fs0/mock
mkdir /fs0/mock/cache
mkdir /fs0/mock/cache/mock
mkdir /fs0/mock/lib
mkdir /fs0/mock/lib/mock