Difference between revisions of "Builder Permissions"

From CDOT Wiki
Jump to: navigation, search
(Created page with '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 …')
 
 
Line 1: Line 1:
 +
<pre>
 
New Builder Images
 
New Builder Images
  
Line 30: Line 31:
 
mkdir /fs0/mock/lib
 
mkdir /fs0/mock/lib
 
mkdir /fs0/mock/lib/mock
 
mkdir /fs0/mock/lib/mock
 +
</pre>

Latest revision as of 10:26, 19 October 2011

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