DriverSim Posted June 30, 2015 Report Share Posted June 30, 2015 Here's a fun one. One of our developers has left for another job. This developer acted as our department IT person. He set up our asset server using a version of Ubuntu and installed Plastic. Great SVN we love it, but now our team has to figure out how to use Linux and Plastic via the command line. I've had Unix classes way back in the day so Linux isn't completely foreign but I am rusty. What I am trying to do is deactivate the absent developer's license and assign it to our new developer. I was able to find these commands on the forum... cm du <username> cm au <username> However, I am not the repository administrator so when I try to use them I get errors. Here's what I need help with: 1) I want to reassign myself as the administrator of the repository. 2) I want to deactiveate the old dev's license and reassign it to our new dev. Please be verbose in your response and don't assume I am a Linux master, I need step by step help - we all know that one command switch can make all the difference :-) Link to comment Share on other sites More sharing options...
calbzam Posted July 1, 2015 Report Share Posted July 1, 2015 Hi, If you have a GUI for connection to server it, you can Drive to the repositories view --> Right-click --> Repository server permissions --> change repository server owner. From the command line: cm setowner -user=administrator repserver:localhost:8087 Regards, Carlos. Link to comment Share on other sites More sharing options...
DriverSim Posted July 1, 2015 Author Report Share Posted July 1, 2015 From my understanding we don't have the GUI setup. The command you suggested worked. Thank you. Link to comment Share on other sites More sharing options...
calbzam Posted July 3, 2015 Report Share Posted July 3, 2015 Great! Link to comment Share on other sites More sharing options...
johnluxford Posted September 1, 2015 Report Share Posted September 1, 2015 From the command line: cm setowner -user=administrator repserver:localhost:8087 I'm having a similar issue, but I don't think we ever set an administrator user. This command doesn't fail, but even after restarting the plasticsd server, when I try to run the command "cm du username" I get the following message: You don't have permissions to deactivate user username. You need to be repository server administrator in order to be allowed to complete this operation. Link to comment Share on other sites More sharing options...
manu Posted September 2, 2015 Report Share Posted September 2, 2015 Hi! it seems that your current user (cm whoami) is not the repserver owner. Once you change it to be yourself you'll be able to run the command. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.