delete WebGUI::Session::Os
This commit is contained in:
parent
7ff307cabe
commit
1150528b8a
5 changed files with 4 additions and 162 deletions
|
|
@ -202,7 +202,7 @@ sub setPrivilege {
|
|||
my $path = shift;
|
||||
print "\t\tSetting filesystem privilege. " unless ($quiet);
|
||||
|
||||
if ($session->os->get("type") eq "Linuxish") {
|
||||
if ($^O ne 'MSWin32') {
|
||||
unless (system("chown -R ".$webUser." ". $path)) {
|
||||
print "Privileges set.\n" unless ($quiet);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue