delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/31/09:05:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Robert W. Kuhn" <spamhalde2 AT fastmail DOT 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
User-Agent: 40tude_Dialog/2.0.15.1de (b05f34a4.468.38)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hello,

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

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

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


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

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

- Raw text -


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