1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Peter Gordon wrote: |
5 |
|
6 |
>gentuxx said: |
7 |
> |
8 |
>>charlie@localhost's password: |
9 |
>>cvs server: cannot open /root/CVSROOT/config: Permission denied |
10 |
>>Cannot access /root/CVSROOT |
11 |
>>Permission denied |
12 |
>> |
13 |
>>Here's the perms on the file: |
14 |
>> |
15 |
>>charlie@gentoo / $ ls -l /var/lib/cvs/root/CVSROOT/config |
16 |
>>- -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 |
17 |
>>/var/lib/cvs/root/CVSROOT/config |
18 |
> |
19 |
> |
20 |
>It looks to me like it's using the CVSROOT in /root (the root user's |
21 |
>home directory) instead of in /var/lib/cvs/root. Files in /root are not |
22 |
>normally viewable by any other user. Are you sure this is not the case? |
23 |
> |
24 |
>--Peter |
25 |
|
26 |
Well, I turned on debugging in the config file to see if I could get |
27 |
any info there. What it *does* provide though, is an indication that |
28 |
the chroot is working: |
29 |
|
30 |
Oct 17 14:30:41 gentoo cvsd[11011]: debug: chroot(/var/lib/cvs) done |
31 |
|
32 |
Also, if I put the full path (/var/lib/cvs/root) in the CVSROOT |
33 |
variable, it errors that there is no such directory. So I believe the |
34 |
chroot'ing is happening correctly, I just don't understand why I'm |
35 |
being denied permission through SSH. |
36 |
|
37 |
- -- |
38 |
gentux |
39 |
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge' |
40 |
|
41 |
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A |
42 |
6996 0993 |
43 |
-----BEGIN PGP SIGNATURE----- |
44 |
Version: GnuPG v1.4.1 (GNU/Linux) |
45 |
|
46 |
iD8DBQFDVCJDLYGSSmmWCZMRAqzMAKCWf6KnZ2XyxpicTrmPcUGP932scwCgrore |
47 |
MZT5fOsYmr8gOWh67xz42v0= |
48 |
=zQQb |
49 |
-----END PGP SIGNATURE----- |
50 |
|
51 |
-- |
52 |
gentoo-user@g.o mailing list |