Added a chmod
This commit is contained in:
parent
7ccb8c693c
commit
84f7010be3
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import commands
|
||||
|
||||
dirs = ['/git/',
|
||||
'/hg/',
|
||||
|
@ -20,4 +21,4 @@ for dir in dirs:
|
|||
os.makedirs(release)
|
||||
if os.lstat(release).st_gid != stat.st_gid:
|
||||
os.chown(release, -1, stat.st_gid)
|
||||
|
||||
commands.getoutput('/usr/bin/find /srv/web/releases -type d | xargs /bin/chmod -R 2775')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue