Luca,
I think you should use the set-group-id bit for the group, and the group
of the directory to be set to the cvs group:
chgrp -R cvs /export/home/ntop/
find /export/home/ntop/ -type d -exec chmod g+s {} \;
Your final permissions should look like:
drwxr-sr-x root cvs /export/home/ntop/
Or with write access for the cvs group, if you allow others to upload
files directly into cvs.
Make sure it appears as a lowercase "s" and not uppercase. Uppercase
means that the cvs group does not have the execute bit set on the
directory (cannot look at its contents... big problem for CVS checkouts).
Do not use the command
chmod -R g+s /export/home/ntop/
because that will also modify permissions for the files, in addition to
the directories.
this will grant group-suid-execute permissions to those files (if they
are executable), and I don't think you want to allow that.
I think you only want directory permissions here.
This will force any newly created directories and files to have
permissions as being accessible by the cvs group, and the newly created
directories will also inherit the "s" bit.
Adi.
Luca Deri wrote:
Fixed.
Do you know how to configure the CVS so that everytime I add a new
directory I don't have to set permissions manually?
Thanks, Luca
adi wrote:
[EMAIL PROTECTED] wrote:
Update of /export/home/ntop/ntop/packages/debian/etc/ld.so.conf.d
In directory jabber.ntop.org:/tmp/cvs-serv13662/ld.so.conf.d
Log Message:
Directory /export/home/ntop/ntop/packages/debian/etc/ld.so.conf.d
added to the repository
Luca, please check the file permissions, cvs checkouts have been
impossible today:
cvs checkout: Updating ntop/packages/debian/etc/ld.so.conf.d
cvs checkout: failed to create lock directory for
`/export/home/ntop/ntop/packages/debian/etc/ld.so.conf.d'
(/export/home/ntop/ntop/packages/debian/etc/ld.so.conf.d/#cvs.lock):
Permission denied
cvs checkout: failed to obtain dir lock in repository
`/export/home/ntop/ntop/packages/debian/etc/ld.so.conf.d'
cvs [checkout aborted]: read lock failed - giving up
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev