mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Use sensible permissions for a file
This commit is contained in:
@@ -615,7 +615,7 @@ else {
|
||||
&close_tempfile(SSHFILE);
|
||||
if (!$ex) {
|
||||
&set_ownership_permissions(
|
||||
$user{'uid'}, $user{'gid'}, 0700, $sshfile);
|
||||
$user{'uid'}, $user{'gid'}, 0600, $sshfile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user