delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/19/13:10:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Tony Arnold" <tony DOT arnold AT man DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Permissions on home dir and ftpd
Date: Fri, 19 Oct 2001 18:09:56 +0100
Message-ID: <PNELKPPGPINOHNHFGBKNAELJCDAA.tony.arnold@man.ac.uk>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Authenticated-Sender: Anthony C Arnold, Tony Arnold from aca-vnt.mcc.ac.uk (acavnt) [130.88.201.150]
X-Authenticated-From: Tony DOT Arnold AT man DOT ac DOT uk

I've been playing around with ftp recently trying to solve a problem and I'm seeing some
strange behaviour that I could do with some help on.

I've setup inetutils and inetd is running under UID 18 and is listening for incoming ftp
connections. An ftp session starts and will accept my username and password but it fails
to find my home directory unless that directory has execute access for 'others', i.e., I
need to do chmod o+x dir for ftp to work properly. Without the o+x permission, I get the
following:

230- No directory! Logging in with home=/

Obviously I would rather not have everyone able to cd to my home directory! The curius
thing is that neither telnet nor ssh requires this for them to work correctly.

Is this a known problem? I've seen references to problems with chroot in the mail
archive but since I'm not clear what chroot does, I'm not sure if it's relevant.

For info, I'm running Cygwin 1.3.3 on Windows 2000 SP2 with the latest version of
inetutils.

If anyone can shed some light on this I would much appreciate it.

Regards,
Tony.
--
Tony Arnold, Deputy to the Head of COS Division, Manchester Computing,
University of Manchester, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E-mail: tony DOT arnold AT man DOT ac DOT uk, Home: http://www.man.ac.uk/Tony.Arnold


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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