X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 24 Jul 2008 11:22:49 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: CSIH file permission tests on non-NTFS broken (was Re: ssh-host-config script fails) Message-ID: <20080724092249.GC28166@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2B02F35EEE21064E9EF7F377F7F37D7402949615 AT ADMAIL01 DOT ICSDMN DOT local> <20080723163450 DOT GY5251 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080723163450.GY5251@calimero.vinschen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi Chuck, On Jul 23 18:34, Corinna Vinschen wrote: > On Jul 23 11:25, Matt Kemmerer wrote: > > Administrator AT ics-dp35xppro ~ > > $ ssh-host-config > > *** Info: Creating default /etc/ssh_config file > > *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes > > *** Info: Creating default /etc/sshd_config file > > *** Info: Privilege separation is set to yes by default since OpenSSH > > 3.3. > > *** Info: However, this requires a non-privileged account called 'sshd'. > > *** Info: For more info on privilege separation read > > /usr/share/doc/openssh/README.privsep. > > *** Query: Should privilege separation be used? (yes/no) yes > > *** Warning: The owner and the Administrators need > > *** Warning: to have .w. permission to /var/run. > > *** Warning: Here are the current permissions: > > *** Warning: drwxr-xr-x 2 Administrator None 0 Jul 23 10:21 /var/run > > *** Warning: Please change the user and/or group ownership and > > *** Warning: permissions of /var/run. > > *** ERROR: Problem with /var/run directory. Exiting. > > > > I've tried changing the permissions on /var/run but the commands chgrp > > and chmod both produce no error but do not change the permissions > > either. > > Eeek! You're using FAT32 on a NT based OS? This isn't such a good > idea, actually. There's no security and no permission settings on FAT. > The csih script seems to miss the fact that the directory is on a > non-NTFS drive which isn't capable of setting permissions. Given that > you're installing ssh, which is a paranoid secure playing package, > that's actually a good idea. Ever thought of running convert.exe on > your drive? ;) > > Nevertheless that should be changed in csih. Could you have a look into this, please? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/