delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/26/17:27:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 26 Jul 2005 17:26:40 -0400
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: ssh session can't see share permissions; rights for disk share reduced
To: <cygwin AT cygwin DOT com>
Reply-to: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Message-id: <178701c59228$b8b95cf0$3e0010ac@wirelessworld.airvananet.com>
MIME-version: 1.0

Tom Rodman wrote:

> Thanks for your help.  After I rebuilt
> /etc/passwd and /etc/group some but not all of the symptoms went away-
> I'm pretty sure /etc/group was corrupt (my fault).   I will post again after
> I get things in order, but for now I still can not write to the share:

I don't follow exactly what you did, but you must make sure (show us !)
that "id" when you are logged in at the console reports exactly the same groups
as when you are logged in under ssh.

If there are fewer groups under ssh, there are actually two ways to make
the outputs match:
1) edit /etc/group and add the username at the end of the line of the missing group
2) edit /etc/group and completely delete the line with the missing group
I prefer solution 1, in the interest of not hiding info.

Pierre






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