projects
/
mir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test 123
[mir.git]
/
perms.sh-dist
diff --git
a/perms.sh-dist
b/perms.sh-dist
index
04a376c
..
ae9f312
100755
(executable)
--- a/
perms.sh-dist
+++ b/
perms.sh-dist
@@
-1,7
+1,7
@@
#!/bin/sh
# Where the installed system resides
#!/bin/sh
# Where the installed system resides
-INSTDIR=
../M
ir
+INSTDIR=
`dirname $0`/bin/m
ir
# The group all files belong to
GROUP=www-data
# The group all files belong to
GROUP=www-data
@@
-41,9
+41,8
@@
function grant()
umask $UMASK
}
umask $UMASK
}
-chgrp $GROUP $INSTDIR -R > /dev/null 2>&1
+chgrp $GROUP $INSTDIR -R
#
> /dev/null 2>&1
grant 775 664 $INSTDIR > /dev/null 2>&1
grant 775 664 $INSTDIR > /dev/null 2>&1
-grant 750 640 $INSTDIR/WEB-INF/classes/config.properties
-grant 740 640 $INSTDIR/src/config.properties
-#grant 755 644 $INSTDIR/templates
-#grant 755 644 $INSTDIR/produced
+grant 750 640 $INSTDIR/WEB-INF/etc/config.properties
+
+echo "Permissions set."