Page 1 of 1

List of special owner files

Posted: Wed Sep 30, 2015 3:17 am
by richardc
I recently unpacked an install of OpenEMM 2015 on a newer 64 bit Ubuntu box. During the unpack, ownership of the archived files seems to have been lost (I can verify I used 'p' but... who knows).

Is there a list of the special ownership files available? It may be easier to fix my installation that way in lieu of a new install as I progressed a ways past the unpack before I noticed the issue (sendmail is not quite working as an example - but it may not have anything to do with file ownership any longer).

I know of the following three, are there others?

qcrtl
smctrl
updater

All three have been set to root:root

Thanks in advance for your help!

Re: List of special owner files

Posted: Wed Sep 30, 2015 4:18 pm
by maschoff
This section from the Ant script building the source tarball may help:

Code: Select all

		<!-- Assign Groups+Owners (first) and Permissions (second) -->
		<chgrp group="openemm" type="both" verbose="true">
			<fileset dir="${bin}" />
		</chgrp>
		<chown owner="openemm" type="both" verbose="true">
			<fileset dir="${bin}" />
		</chown>
		<chgrp group="root" file="${bin}/bin/qctrl" verbose="true" />
		<chgrp group="root" file="${bin}/bin/smctrl" verbose="true" />
		<chgrp group="root" file="${bin}/bin/updater" verbose="true" />
		<chgrp group="root" file="${bin}/conf/bav/bav.rc" verbose="true" />
		<chown owner="root" file="${bin}/bin/qctrl" verbose="true" />
		<chown owner="root" file="${bin}/bin/smctrl" verbose="true" />
		<chown owner="root" file="${bin}/bin/updater" verbose="true" />
		<chown owner="root" file="${bin}/conf/bav/bav.rc" verbose="true" />
		<chmod dir="${bin}/bin/" perm="a+x" includes="**/*" verbose="true" />
		<chmod dir="${bin}/webservices/" perm="a+x" includes="**/*.sh" verbose="true" />
		<chmod file="${bin}/USR_SHARE/upgrade-postproc.sh" perm="a+x" verbose="true" />
		<chmod file="${bin}/conf/bav/bav.rc" perm="600" verbose="true" />
		<exec executable="chmod" dir="${bin}/bin">
			<arg line="6755 qctrl smctrl updater" />
		</exec>

Re: List of special owner files

Posted: Wed Sep 30, 2015 4:39 pm
by richardc
I couldn't ask for more. Thanks!