mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix to give the files in vfs only minimal rights (rw for owner, rwx for owner on dirs)
This commit is contained in:
parent
f886e06d3c
commit
eeae3102df
@ -882,7 +882,7 @@
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
umask(000);
|
umask(0177);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If 'string' doesn't exist, touch () creates both the file and the database entry
|
If 'string' doesn't exist, touch () creates both the file and the database entry
|
||||||
@ -975,7 +975,7 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
umask (000);
|
umask (0177);
|
||||||
|
|
||||||
if ($this->file_actions)
|
if ($this->file_actions)
|
||||||
{
|
{
|
||||||
@ -1138,7 +1138,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
umask(000);
|
umask(0177);
|
||||||
|
|
||||||
if ($this->file_type (array(
|
if ($this->file_type (array(
|
||||||
'string' => $f->fake_full_path,
|
'string' => $f->fake_full_path,
|
||||||
@ -1388,7 +1388,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
umask (000);
|
umask (0177);
|
||||||
|
|
||||||
/* We can't move directories into themselves */
|
/* We can't move directories into themselves */
|
||||||
if (($this->file_type (array(
|
if (($this->file_type (array(
|
||||||
@ -1755,7 +1755,7 @@
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
umask (000);
|
umask (077);
|
||||||
|
|
||||||
if ($this->file_actions)
|
if ($this->file_actions)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user