git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1851 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-24 11:05:14 +00:00
parent a1ba4d0021
commit 48348bda5f
+1 -1
View File
@@ -1270,7 +1270,7 @@ def const_setup_perms(mydir, gid):
cur_gid = os.stat(currentdir)[stat.ST_GID]
if cur_gid != gid:
os.chown(currentdir,-1,gid)
cur_mod = const_get_chmod(item)
cur_mod = const_get_chmod(mydir)
if cur_mod != oct(0775):
os.chmod(currentdir,0775)
except OSError: