tbrehm
2011-11-15 450b3c9c0c3dde9db63f48ee4239726313a001ea
- Fixed ssh user permissions.
1 files modified
2 ■■■ changed files
server/plugins-available/shelluser_base_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/shelluser_base_plugin.inc.php
@@ -273,7 +273,7 @@
            $this->app->log("ssh-rsa key updated in ".$sshkeys,LOGLEVEL_DEBUG);
        }
        // set proper file permissions
        exec("chown -R ".escapeshellcmd($this->data['new']['puser']).":".escapeshellcmd($this->data['new']['pgroup'])." ".$usrdir);
        // exec("chown -R ".escapeshellcmd($this->data['new']['puser']).":".escapeshellcmd($this->data['new']['pgroup'])." ".$usrdir);
        exec("chmod 600 '$sshkeys'");
        
    }