Hi Nick,
Thanks for your reply. I need a loginfo script like the Noel send me in perl. As i implented the ACL on my repository. There for the following reason the unix script was required as Noel explained in his previous mail.
Given: 1. Default ACLs cannot tell the difference between directories and files. 2. Repo directory permissions need to be treated differently from repo file permissions.
Therefore: 1. A loginfo script will need to reset file ACLs for each commit. It will also need to set ACLs on new elements. Typically, this setting is a combination of inheritance from the parent directory for ACL users and groups and read permissions, files are never writable, files may need to be executable, and directories are always writable and executable.
Script is in perl and i need to learn it. I will appreciate if u can help in this regard.
Regards,
shakeel
Nick Papadonis wrote:
[EMAIL PROTECTED]">Muhammad Shakeel <[EMAIL PROTECTED]> writes:Thanks for your reply. I implemented a ACL on a folder in my
repository, when some one checkin in this folder, loginfo execute the
script and refreshes the whole ACL recursively in that folder. But
when a user who is not the owner of the files in repository (Although
he has rwx permissions), check in a file the script on its execution
gives an error message :
Muhammad,
I didn't catch this whole thread, but would like to offer ACL
insight. I researched this area and ended up using the ACL script
included with the CVS source. When setup correctly, this script turns out
suitable for controlling access on a per module, directory, branch,
and user basis.
Hope this helps.
- Nick
-- Regards, Muhammad Shakeel Streaming Networks (Pvt.) Limited House 8, St. 31, F-7/1 Islamabad - 44000, Pakistan Talk: +92-51-2823585, +92-51-2275589 Fax: +92-51-2820832 Email: [EMAIL PROTECTED] Web: streaming-networks.com
-- Regards, Muhammad Shakeel Streaming Networks (Pvt.) Limited House 8, St. 31, F-7/1 Islamabad - 44000, Pakistan Talk: +92-51-2823585, +92-51-2275589 Fax: +92-51-2820832 Email: [EMAIL PROTECTED] Web: streaming-networks.com