mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
Fix: replace mkdir with chmod
In original patches, extra mkdir has been added instead of chmod. https://fedorahosted.org/freeipa/ticket/5520 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
1 parent
8ad39a974f
commit
403652b5b9
1 file changed
+1
-1
@@ -420,7 +420,7 @@ class SystemdService(PlatformService):
|
||||
try:
|
||||
if not ipautil.dir_exists(srv_tgt):
|
||||
os.mkdir(srv_tgt)
|
||||
os.mkdir(srv_tgt, 0o755)
|
||||
os.chmod(srv_tgt, 0o755)
|
||||
if os.path.exists(srv_lnk):
|
||||
# Remove old link
|
||||
os.unlink(srv_lnk)
|
||||
|
||||
Reference in new issue
Block a user