Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Perforce user deletion issues.

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 -H opened
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 revert -k //…
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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x