[p4] Trigger not to all new files under particular directory

Paul Goffin Paul.Goffin at aepsystems.com
Tue Mar 29 15:09:51 PST 2005


Why use a trigger?  Why not use permissions?

write user * * -//depot/products/...
write user * * //depot/products/Camera/...
write user * *  //depot/products/signature/...
write user * *  //depot/products/test/...

Paul.

-----Original Message-----
From:	Madhu Gaddam [mailto:MGaddam at digimarc.com]
Sent:	Tue 29/03/2005 22:53
To:	'perforce-user at perforce.com'
Cc:	
Subject:	[p4] Trigger not to all new files under particular directory
Hi All,
 
I am looking for a perl trigger, that should not allow any user to add a new
files.
 
For example I have directory called
 //depot/products/Camera/...
 //depot/products/signature/...
 //depot/products/test/...
 
I don't want any one to create on more directory under 
 //depot/products
 
They can work on the existing directory & add files under that, but not on
the main level( //depot/products)
 
Please help
 
Thanks
Madhu
 





**********************************************************************
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email
in error please notify the postmaster at the address below.
ITS-Support at aepsystems.com

Unless the contrary is specifically indicated above nothing in
this message is intended to constitute an electronic signature
within the meaning of the Electronic Commerce Act 2000 or
similar legislation enacted elsewhere in the world.

This footnote also confirms that this email message has been swept for the presence of computer viruses.
*****************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20050330/051254dc/attachment-0007.html>


More information about the perforce-user mailing list