rajeshkumar created the topic: perforce user deletion issues.
Today i was trying to delete some perforce users and found some strange issues as below;
Problem
p4 user -d -f raj
User rajhas file(s) open on 2 client(s) and can’t be deleted
p4 -u raj-c
Access for user ‘raj’ has not been enabled by ‘p4 protect’.
p4 client -d -f raj_client
Client ‘raj_client7’ has files shelved; use ‘shelve -df’ to remove them, and then try again.
p4 -u raj -c raj_client -H
Access for user ‘raj’ has not been enabled by ‘p4 protect’.
Solution which I found out.
The messages receiving show that access for the user ‘raj’ has been disabled by removing all entries corresponding to this user from the Perforce Protections Table.
You can check this by running:
p4 protect -o | grep raj
Note you must be a superuser to run this command.
Granting the user ‘raj’ access to the areas of the depot where they have files open or shelved will allow you to delete these workspaces and shelves. You will then be able to delete the user from Perforce.
More information reference…
www.perforce.com/perforce/r10.2/manuals/…protect.html#1064878
Problem –
Client ‘bb_Workspace’ has files shelved; use ‘shelve -df’ to remove them, and then try again.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024