I'm trying to set up owner permissions for working with the protections table, and just wanted to check if I'm doing this right. This is for a college course setup. Students are assigned to teams, and each team has a directory for their project. Each team should only be able to access their directory, not those of all the other teams. The instructors (like myself) should be able to create the team project directories and grant permissions to the team members. The instructors should not be superusers.
The 'owner' concept looks like exactly what I need for this. Say I have a depot created for my course, Awesomeness 101. If I have this line in the protections table:
owner user benchang * //Awesomeness-101-Fall-2019/...
then, as user benchang, I think I should be able to do this to then edit the protections for my students (?):
p4 protect //Awesomeness-101-Fall-2019
But, I get the "You don't have permissions for this operation" error.