Re: [gentoo-user] CVS problem
On 10/17/05, gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1Hi all,I just set up cvsd using the Wiki How-To here: http://gentoo-wiki.com/HOWTO_CVS_Server.Nice little How-To, and Iseemed to get every thing set up fine.I was able to import the firstmodule with the :pserver: protocol, but then decided that I should go with the SSH modification instead.So, I went through, added my userto the cvsd group, changed the CVSROOT to user the :ext: protocol.Now when I try to export the module, I get a permission denied error! [EMAIL PROTECTED]'s password:cvs server: cannot open /root/CVSROOT/config: Permission deniedCannot access /root/CVSROOTPermission deniedHere's the perms on the file:[EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/configI'm in the group, the permissions should be right.Why isn't thisworking? Check the directory perms too. -Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates?
Re: [gentoo-user] CVS problem
gentuxx said: [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config It looks to me like it's using the CVSROOT in /root (the root user's home directory) instead of in /var/lib/cvs/root. Files in /root are not normally viewable by any other user. Are you sure this is not the case? --Peter -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVS problem
gentuxx said: [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config It looks to me like it's using the CVSROOT in /root (the root user's home directory) instead of in /var/lib/cvs/root. Files in /root are not normally viewable by any other user. Are you sure this is not the case? --Peter -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVS problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Crute wrote: On 10/17/05, *gentuxx* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I just set up cvsd using the Wiki How-To here: http://gentoo-wiki.com/HOWTO_CVS_Server. Nice little How-To, and I seemed to get every thing set up fine. I was able to import the first module with the :pserver: protocol, but then decided that I should go with the SSH modification instead. So, I went through, added my user to the cvsd group, changed the CVSROOT to user the :ext: protocol. Now when I try to export the module, I get a permission denied error! [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config I'm in the group, the permissions should be right. Why isn't this working? Check the directory perms too. -Mike Here's the whole tree: [EMAIL PROTECTED] / $ ls -ld /var/lib drwxr-xr-x 37 root root 4096 Oct 17 13:15 /var/lib [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs drwxr-xr-x 10 cvsd cvsd 4096 Oct 17 14:12 /var/lib/cvs [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root drwxrwxr-x 3 cvsd cvsd 4096 Oct 17 14:11 /var/lib/cvs/root [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT drwxrwxr-x 3 cvsd cvsd 4096 Oct 17 14:18 /var/lib/cvs/root/CVSROOT [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 14:11 /var/lib/cvs/root/CVSROOT/config The weird thing is, that it seems to work fine in :pserver: mode. Can it not do both at the same time? It would be nice to have anonymous be read only, and SSH for the writers -- Michael E. Crute Software Developer SoftGroup Development Corporation Linux, because reboots are for installing hardware. In a world without walls and fences, who needs windows and gates? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVBmDLYGSSmmWCZMRAicOAJ9bFHGMbBgU1dvDTD8/a7LDNtvjvwCdHSRQ qK8pdIw6ysRfhxVrVTlgrXk= =4BQR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVS problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Gordon wrote: gentuxx said: [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config It looks to me like it's using the CVSROOT in /root (the root user's home directory) instead of in /var/lib/cvs/root. Files in /root are not normally viewable by any other user. Are you sure this is not the case? --Peter Well, I turned on debugging in the config file to see if I could get any info there. What it *does* provide though, is an indication that the chroot is working: Oct 17 14:30:41 gentoo cvsd[11011]: debug: chroot(/var/lib/cvs) done Also, if I put the full path (/var/lib/cvs/root) in the CVSROOT variable, it errors that there is no such directory. So I believe the chroot'ing is happening correctly, I just don't understand why I'm being denied permission through SSH. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVCJDLYGSSmmWCZMRAqzMAKCWf6KnZ2XyxpicTrmPcUGP932scwCgrore MZT5fOsYmr8gOWh67xz42v0= =zQQb -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list