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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND