Subversion Repositories DevTools

Rev

Rev 6564 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6564 Rev 7379
Line 16... Line 16...
16
mkdir -p $LOGDIR
16
mkdir -p $LOGDIR
17
echo `date` " make_readonly $1 $2 $3" >> $LOGDIR/$LOGFILE
17
echo `date` " make_readonly $1 $2 $3" >> $LOGDIR/$LOGFILE
18
 
18
 
19
 
19
 
20
case "$1" in
20
case "$1" in
21
  dpkg_archive)         ARCHIVE="/devl/dpkg_archive" ;;
21
  dpkg_archive)         ARCHIVE="/export/devl/dpkg_archive" ;;
22
  deploy_archive)       ARCHIVE="/devl/deploy_archive" ;;
22
  deploy_archive)       ARCHIVE="/export/devl/deploy_archive" ;;
23
  releases)             ARCHIVE="/devl/releases" ;;
23
  releases)             ARCHIVE="/export/devl/releases" ;;
24
  *)                    echo "$0: Invalid archive: $1" 1>&2
24
  *)                    echo "$0: Invalid archive: $1" 1>&2
25
                        exit 101
25
                        exit 101
26
                        ;;
26
                        ;;
27
esac
27
esac
28
 
28
 
Line 62... Line 62...
62
#
62
#
63
#find "$PKGDIR"  ! -type l -exec chmod a-w {} \; -exec chown root:ccperdev {} \;
63
#find "$PKGDIR"  ! -type l -exec chmod a-w {} \; -exec chown root:ccperdev {} \;
64
#setfacl -R -m group::r-x "$PKGDIR"
64
#setfacl -R -m group::r-x "$PKGDIR"
65
#setfacl -R -x user:releasem "$PKGDIR"
65
#setfacl -R -x user:releasem "$PKGDIR"
66
 
66
 
-
 
67
find "$PKGDIR"  ! -type l -exec chown root:ccperdev {} \;
67
setfacl -R -x user:releasem "$PKGDIR"
68
setfacl -R -x user:releasem "$PKGDIR"
-
 
69
setfacl -R -x user:buildadm "$PKGDIR"
-
 
70
setfacl -R -x user:pkgadm "$PKGDIR"
-
 
71
setfacl -R -x group:ccperdev "$PKGDIR"
68
setfacl -R -m user::rX,group::rX,other::rX "$PKGDIR"
72
setfacl -R -m user::r-X,group::r-X,other::r-X "$PKGDIR"
69
 
73