|
@@ -153,14 +153,14 @@ |
|
|
block discarded – undo |
|
153
|
153
|
|
|
154
|
154
|
public static function SetfaclPermissionsSetter($path) { |
|
155
|
155
|
if (!is_dir($path)) |
|
156
|
|
- mkdir($path, 0777, true); |
|
|
156
|
+ mkdir($path, 0777, TRUE); |
|
157
|
157
|
self::runCommand('setfacl -m u:"%httpduser%":rwX -m u:$USER:rwX %path%', $path); |
|
158
|
158
|
self::runCommand('setfacl -d -m u:"%httpduser%":rwX -m u:$USER:rwX %path%', $path); |
|
159
|
159
|
} |
|
160
|
160
|
|
|
161
|
161
|
public static function ChmodPermissionsSetter($path) { |
|
162
|
162
|
if (!is_dir($path)) |
|
163
|
|
- mkdir($path, 0777, true); |
|
|
163
|
+ mkdir($path, 0777, TRUE); |
|
164
|
164
|
self::runCommand('chmod +a "%httpduser% allow delete,write,append,file_inherit,directory_inherit" %path%', $path); |
|
165
|
165
|
self::runCommand('chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" %path%', $path); |
|
166
|
166
|
} |
Please login to merge, or discard this patch.