Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Maxx 17.03.2007 23:54 / 17.03.2007 23:55
Делаю как в доке:# cvs login works but cvs checkout or other commands fail with "setgid failed: Operation not permitted"http://ch.tudelft.nl/~arthur/cvsd/faq.html#setgid
This can happen when you run cvsd as non-root (which is recommended) and didn't set up your repository passwd file (CVSROOT/passwd) correctly. The repository passwd files should contain mappings of cvs users to the user you specified in cvsd.conf. If no mapping is present cvs tries to become the "original" user and fail because it's not running as root. Your repository passwd files should look like:
anonymous:XGPg1ub8xh70U:cvsd
Another possibility is that your system uses something different for providing user information (nis/ldap/etc) and that your chroot passwd file (e.g. /var/lib/cvsd/etc/passwd) does not match the system passwd database (any more). This is especially important if your chroot jail is on an nfs filesystem.
In this case it may be needed to rerun cvsd-buildroot and check it's output (and possibly the output of cvsd-buginfo) to see which users are missing.