delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/03/09:20:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: proftpd - help with user permissions
Date: Tue, 3 Aug 2004 09:16:13 -0400
Message-ID: <536E63F3472B3F4486A01F301164FEC8584017@mccmsrv.mccnet.mobilecom.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Cary Lewis" <CLewis AT mobilecom DOT com>
To: "Cygwin forum" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i73DKJqk018291

I am having trouble getting proftpd to work on a windows 2000 machine:

The service is running and I can ftp in as the user who installed
cygwin.

This is not the administrator but a user who is a member of the
administrators group.

I created a new user, and made them a member of the power users group
and the ts users group.

This user can ssh into the machine with no problems.

When this user attempts to ftp, it fails. The proftpd.log looks like
this:

255.255.255.255 (127.0.0.1[127.0.0.1]) - userftp chdir("/home/userftp"):
No su
ch file or directory

BUT THAT DIRECTORY DOES EXISTS

I tried setting permissions in windows to let the userftp have full
control over this directory, but that does not help.

When the admin user ftps in, this displayed in the proftpd.log

255.255.255.255 (127.0.0.1[127.0.0.1]) - SETUP PRIVS at mod_auth.c:1253
255.255.255.255 (127.0.0.1[127.0.0.1]) - FS: using system chdir()
255.255.255.255 (127.0.0.1[127.0.0.1]) - in dir_check_full(): path =
'/', fullpa
th = '/home/admin/'.

Clearly proftpd fails during the chdir, but why?

Any help would be appreciated.

If I make the new user a member of administrators, and re-create its
home directory (by running a bash shell logged on as this user via
terminal services) then I can ftp into the machine.

Clearly the permissions inside of cygwin are messed up.





--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019