www.delorie.com/archives/browse.cgi | search |
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 |
Message-Id: | <200507272319.j6RNJsBO023727@tigris.pounder.sol.net> |
From: | cygwin AT trodman DOT com (Tom Rodman) |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh session can't see share permissions; Pierre's /etc/group edit, WORKED.. |
In-reply-to: | <178701c59228$b8b95cf0$3e0010ac@wirelessworld.airvananet.com> |
References: | <178701c59228$b8b95cf0$3e0010ac AT wirelessworld DOT airvananet DOT com> |
Date: | Wed, 27 Jul 2005 18:19:54 -0500 |
X-IsSubscribed: | yes |
Pierre: On Tue 7/26/05 17:26 EDT "Pierre A. Humblet" wrote: <snip> > 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. To be safe I ran 'mkgroup -l -d >/etc/group' (no errors;2564 lines). I still had membership in 1 more group when I ran 'id' at the console, than in an ssh session. I used soln 1 above and it worked fine (so did soln 2), all my original problems are solved (the minor [and last/3rd] one in the 1st post was my fault). Both solutions resulted in matching group membership between a console session and an ssh session; and I could write to the network drive and display the network share DACL from the ssh session just fine (I used setacl). Remaining mystery/curiousity: The extra group listed in the console bash session is strange. I'm not aware of the groups purpose, and would guess (I do not really know) that the user is not really in it. Can I trust that the 'id' command in the console session is correct? "net USERNAMEHERE /domain" does not list this group. <snip> -- thanks again!, Tom -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |