mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Set permissions properly
This commit is contained in:
@@ -43,7 +43,7 @@ sub create_mail_dir
|
||||
{
|
||||
local $d;
|
||||
foreach $d ($_[1], "$_[0]/cur", "$_[1]/tmp", "$_[1]/new") {
|
||||
mkdir($d, 0700);
|
||||
&make_dir($d, 0700);
|
||||
if ($config{'sync_perms'}) {
|
||||
system("chmod ".
|
||||
quotemeta($config{'sync_perms'})." ".
|
||||
|
||||
Reference in New Issue
Block a user