MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Perforce user deletion issues.

Perforce

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x