diff --git a/client/client.py b/client/client.py index f10ce17..c636f32 100644 --- a/client/client.py +++ b/client/client.py @@ -1210,6 +1210,11 @@ class Client(commandServer, encrypt, Desktop): return False # ~/.calculate/server.env fileConfig = os.path.join(homeDir, self.configFileServer) - res = self.setServerCommand(["passwd_samba"], varsConfig, fileConfig, - uid,gid) + try: + res = self.setServerCommand(["passwd_samba"], varsConfig, fileConfig, + uid,gid) + except OSError as e: + if e.errno == 13: + self.printERROR(_("Permission denied")) + return False return res