Skip to content
Permalink
436051c467
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 16 lines (12 sloc) 412 Bytes
#!/bin/sh
log="/tmp/permissions.log"
echo "Starting Container: " > $log
date >> $log
echo "" >> $log
# Taken from https://raw.githubusercontent.com/openshift/sti-base/master/bin/fix-permissions
# Fix permissions on the given directory to allow group read/write of
# regular files and execute of directories.
chgrp -R 0 $1 >> $log
chmod -R g+rw $1 >> $log
find $1 -type d -exec chmod g+x {} + >> $log
exit 0