parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

CVS: setgid failed: Operation not permitted

Maxx 17.03.2007 23:54 / 17.03.2007 23:55

Делаю как в доке:
1. cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project login
2. Пароль пустой (Enter)
3. cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project get parser3

Ловлю ошибку:
setgid failed: Operation not permitted

Что я делаю не так?

Из поиска в инете нашел вот это:
# cvs login works but cvs checkout or other commands fail with "setgid failed: Operation not permitted"

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.
http://ch.tudelft.nl/~arthur/cvsd/faq.html#setgid


Но, если честно, не понял нифига, это вообще ко мне имеет отношение или к серверу?

  • CVS: setgid failed: Operation not permitted, Maxx [M] 17.03.2007 23:54 / 17.03.2007 23:55
    • fixed. (-), Misha v.3 [M] 19.03.2007 15:20