Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040803152435.0333cb50@pop.prospeed.net> X-Sender: Date: Tue, 03 Aug 2004 15:26:52 -0400 To: "Cary Lewis" , From: Larry Hall Subject: Re: problem with permissions / proftpd In-Reply-To: <536E63F3472B3F4486A01F301164FEC858405B@mccmsrv.mccnet.mobi lecom.com> References: <536E63F3472B3F4486A01F301164FEC858405B AT mccmsrv DOT mccnet DOT mobilecom DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:46 PM 8/3/2004, you wrote: >I am trying to set up a ftp server using proftpd > >I have installed it and it works fine for a user which is a member of >the administrators group. > >When I create a new user which is only a member of users, it does not >work. > >When I ssh into the machine using the users only user, I get the >following > >Your group is currently "mkgroup". This indicates that >the /etc/group (and possibly /etc/passwd) files should be rebuilt. >See the man pages for mkpasswd and mkgroup then, for example, run >mkpasswd -l [-d] > /etc/passwd >mkgroup -l [-d] > /etc/group >Note that the -d switch is necessary for domain users. > >But /etc/group contains the correct group Users > >If I add the user to the Administrators group I can log in without the >mkgroup warning, but ftp still does not work. > >As well, the /etc directory appears different depending on who is logged >in. > >The user which installed cygwin and proftpd and sshd, is not the >Administrator, but a user in the Administrators group. > >On a different server where the Administrator did the install I get >better results. I can log in via ssh, but ftp fails, proftpd can not >chdir to the /home/user directory. > >If I change the /etc/passwd entry for the user to /cygwin/home/user, >then I can use ftp, but this "trick" does not work on the machine where >I am user in the Administrator group and not the administrator itself. > >Can someone suggest a course of action. > >Clearly the interaction between windoze security and cygwin is tripping >me up. I'd suggest starting here: >Problem reports: http://cygwin.com/problems.html To me, it sounds like a "system" versus "user" mount issue but without at least the basic configuration information from 'cygcheck', that's just a WAG. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/