#Set Path Variable to the Path
SOURCEPATH=/mnt/ebs/svn/eazyworks_rigel
# Change Owner
sudo chown -R www-data:subversion $SOURCEPATH
# Change Access Writes
sudo chmod -R g+rws $SOURCEPATH
# Generate Repository DB in that Path
sudo svnadmin create $SOURCEPATH
# Update Access Writes to work with ViewVC and SVN so Apache has Write Access.
sudo chmod -R g+rws $SOURCEPATH
#A Loop
PLACES=' eazyworks ez_evaluator ez_soap_reader kuma_rma ejs ez_file_renamer ez_time mensa ez_aws_monitor ezmes kuma_datacrunch '
for i in $PLACES; do sudo chown -R www-data:subversion $i; done
for i in $PLACES; do sudo chmod -R g+rws $i; done
for i in $PLACES; do sudo svnadmin create /mnt/ebs/svn/$i; done
PLACES=' eazyworks ez_evaluator ez_soap_reader kuma_rma ejs ez_file_renamer ez_time mensa ez_aws_monitor ezmes kuma_datacrunch '
for i in $PLACES; do sudo chown -R www-data:subversion $i; done
for i in $PLACES; do sudo chmod -R g+rws $i; done
for i in $PLACES; do sudo svnadmin create /mnt/ebs/svn/$i; done
|