/[webpac2]/trunk/bin/fix-webpac-group-perms.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/bin/fix-webpac-group-perms.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1159 - (hide annotations)
Sat Apr 25 12:32:01 2009 UTC (15 years ago) by dpavlin
File MIME type: application/x-sh
File size: 223 byte(s)
fix permissions of webpac group
1 dpavlin 1159 #!/bin/sh
2    
3     function fix_webpac_group() {
4     find $1/ ! -group webpac -exec chgrp -v webpac {} \;
5     find $1/ ! -perm -g=w -group webpac -exec chmod g+w -v {} \;
6     }
7    
8     fix_webpac_group var
9     fix_webpac_grouo out
10     fix_webpac_grouo out

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26