info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setuid failed: Permission denied


From: Lu Fang
Subject: setuid failed: Permission denied
Date: Sun, 02 Mar 2003 04:53:51 +0000

Hi, all
I set up a CVS repository with cygwin under win2k OS. But when I try to check out a module from repo, I got the follwing problem:

$ export CVSROOT=:pserver:address@hidden:/home/lufang/repo

address@hidden ~
$ cvs login
(Logging in to address@hidden)
CVS password:

address@hidden ~
$ cvs co CVSROOT
setuid failed: Permission denied
cvs checkout: authorization failed: server kaguya rejected access to /home/lufan
g/repo for user cvsuser

It seems that I can login as "cvsuser" successfully, but when I do cvs commands, the error raised. what is wrong about it?

this is the content of CVSROOT/passwd file:
lufang:3QXqHgr3oU3EQ
cvsuser:ZyfTqw/.ielHo

I can login as user "lufang" and do all the cvs commands to access my repo properly, only have above problem with logging as "cvsuser", and I found that if I edit the passwd file as :
lufang:3QXqHgr3oU3EQ
cvsuser:ZyfTqw/.ielHo:lufang

then, everything is ok.I don't know why? By the way, "lufang" and "cvsuser" both are my NT system users here. I want to fix the problem here becos I want to define the permissions to access directory/file in my repository so that some files can not access by some users. But now it seems that all my cvs users have to bounded to a particular system user which is "lufang" , otherwise it can not access to repo properly. Since this problem exists, how can I define the r/w/x permissions for different user.

can anyone give some suggestion , thanks a lot!

lufang






_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail





reply via email to

[Prev in Thread] Current Thread [Next in Thread]