2 messages in com.perforce.perforce-user[p4] Controlling unix group and permi...
FromSent OnAttachments
Karl Elvis MacRae26 Apr 2004 16:13 
Arnt Gulbrandsen28 Apr 2004 03:12 
Subject:[p4] Controlling unix group and permissions in perforce
From:Karl Elvis MacRae (km@apple.com)
Date:04/26/2004 04:13:17 PM
List:com.perforce.perforce-user

I've got a project that needs to have files in local working directories readable only by people in a particular unix group (why is a long story).

Basically I need to insure that files are always chgrp'd to this particular
group and chmod'd to have perms of 660 (or something like that).

However, p4 seems to always set files to the user's umask and the default group.
It ignores what I set the file to and reverts it to the environment default.

Is there any way to control this other than by changing the user's environment
or hacking up a wrapper around p4?

This is using Linux and Solaris, and I'm running p4 2003.1.