X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "Robert W. Kuhn" <spamhalde2@fastmail.fm>
Subject:  root and chown
Date:  Thu, 31 Jan 2008 12:40:43 +0100
Lines: 33
Message-ID:  <18k1iodi01ckf.1rrzef1z5dlt8$.dlg@40tude.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: 40tude_Dialog/2.0.15.1de (b05f34a4.468.38)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

a do have a problem with my cygwin-NFS-Server, root and chown

On my windows computer:
 
 root@server:grep root /etc/passwd
 root::0:0:root:/root:/bin/bash
 operator:*:12:0:operator:/root:

 root@server:chown root sshd/
 chown: changing ownership of `sshd': Invalid argument


On the nfs client (imported its file system per nfs):
 
 root@client:/var/empty# grep root /etc/passwd
 root::0:0:root:/root:/bin/bash
 operator:*:12:0:operator:/root:/bin/sh

 root@client:/var/empty# chown root sshd/
 chown: changing ownership of `sshd/': Invalid argument

Where is my error? How can I solve this? 
The original proble is that I want to start the ssd-server on the client
but:

 root@client:/var/empty# /etc/init.d/ssh start
 Starting OpenBSD Secure Shell server: sshd/var/empty/sshd must be owned  
 by root and not group or world-writable.
  failed (255: ).

Bye - Robert


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

