Project

General

Profile

« Previous | Next » 

Revision 233

Added fix_permissions to set correct permissions on shared bien files

View differences:

scripts/util/fix_permissions
1
#!/bin/sh
2
# Sets correct permissions on shared bien files
3

  
4
selfDir="$(dirname -- "$0")" # dir of symlink $0, not this script itself
5
cd "$selfDir"
6

  
7
chgrp -R bien .
8
find . -type d -exec chmod g+s "{}" \; # files shouldn't be setgid
9
chmod -R g+w .
0 10

  

Also available in: Unified diff