This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

proftpd - help with user permissions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]