Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://aegis_4.24-3_i386.deb:16056952/postinst  info  downloads

#!/bin/sh -e

. /usr/share/debconf/confmodule

# set permissions properly

# These files need to be 4755 root.root for aegis to work properly
AEGIS_EXEC="/usr/bin/aegis /usr/bin/aeimport"

# These files/dirs need to be 2755 sys.sys for aegis to work properly
AEGIS_SYS="/var/lib/aegis/"


for item in $AEGIS_EXEC; do
        chown root:root $item
	chmod 4755 $item
done


#NOTE: check each item to make sure it's not on an NFS partition

for item in $AEGIS_SYS; do
	# First, check the perms
	FUID=`ls -ld $item | awk '{print $3}'`
	FGID=`ls -ld $item | awk '{print $4}'`
	test -g /var/lib/aegis/ && test $FUID = sys && test $FGID = sys
	if [ ! $? = 0 ]; then
		chown sys:sys $item
		chmod 2755 $item
	fi
done



Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions