Skip to content

Commit

Permalink
Add SetMdsplusFileProtection template
Browse files Browse the repository at this point in the history
  • Loading branch information
tfredian committed Jun 9, 2006
1 parent e70dc32 commit f077a7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ INSTALL=@top_srcdir@/conf/install-sh -c
SCRIPTS = \
@MAKEBINDIR@remote_submit \
@MAKEBINDIR@unix_submit \
@MAKEBINDIR@synchronize_unix
@MAKEBINDIR@synchronize_unix \
@MAKEBINDIR@SetMdsplusFileProtection

all : @MAKEBINDIR@ \
$(SCRIPTS)
Expand All @@ -30,5 +31,8 @@ install:
@MAKEBINDIR@synchronize_unix : synchronize_unix
cp synchronize_unix @MAKEBINDIR@synchronize_unix

@MAKEBINDIR@SetMdsplusFileProtection : SetMdsplusFileProtection
cp SetMdsplusFileProtection @MAKEBINDIR@SetMdsplusFileProtection

@MAKEBINDIR@ :
mkdir @MAKEBINDIR@
6 changes: 6 additions & 0 deletions scripts/SetMdsplusFileProtection
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
#
# Change group of file to that of the container directory
# Change mode to allow user and group read,write and other read
chgrp $1 --reference=`dirname $1`
chmod 0664 $1

0 comments on commit f077a7c

Please sign in to comment.