We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a88b0 commit 9f642caCopy full SHA for 9f642ca
filemanager/views.py
@@ -1,6 +1,4 @@
1
# -*- coding: utf-8 -*-
2
-
3
4
from django.shortcuts import render,redirect
5
from loginSystem.models import Administrator
6
from loginSystem.views import loadLoginPage
@@ -52,6 +50,9 @@ def changePermissions(request):
52
50
command = 'chown -R %s:%s /home/%s/public_html/*' % (externalApp, externalApp, domainName)
53
51
ProcessUtilities.popenExecutioner(command)
54
+ command = 'chown -R %s:%s /home/%s/public_html/.[^.]*' % (externalApp, externalApp, domainName)
+ ProcessUtilities.popenExecutioner(command)
55
+
56
command = "chown root:nobody /home/" + domainName+"/logs"
57
58
0 commit comments