X-Spam-Check-By: sourceware.org Message-ID: <4582DC76.80205@cygwin.com> Date: Fri, 15 Dec 2006 12:33:42 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061108 Fedora/1.5.0.8-1.fc4.remi Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: directory listing permission denied on network mounted directory References: <45816C9E DOT 30806 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Srivatsa wrote: >>> /cygdrive/z $cat /etc/passwd >>> SYSTEM:*:18:544:,S-1-5-18:: >>> Administrators:*:544:544:,S-1-5-32-544:: >>> Administrator:unused_by_nt/2000/xp:500:513:U-SRIVRAMA-WXP\Administrator, >>> S-1-5-21-3899866716-1901569443-1718271970-500:/cygdrive/c/Documents and >>> Settings/Administrator:/bin/bash >>> srivrama::185623:25:U-SRIVRAMA-WXP\srivrama, >>> S-1-5-21-3899866716-1901569443-1718271970-500:/home/srivrama:/bin/bash >>> >>> >>> /cygdrive/z $ cat /etc/group >>> root:S-1-5-32-544:0: >>> SYSTEM:S-1-5-18:18: >>> eng10:S-1-5-21-3899866716-1901569443-1718271970-513:25: >>> Administrators:S-1-5-32-544:544: >>> Backup Operators:S-1-5-32-551:551: >>> Guests:S-1-5-32-546:546: >>> Network Configuration Operators:S-1-5-32-556:556: >>> Power Users:S-1-5-32-547:547: >>> Remote Desktop Users:S-1-5-32-555:555: >>> Replicator:S-1-5-32-552:552: >>> Users:S-1-5-32-545:545: >>> Debugger Users:S-1-5-21-3899866716-1901569443-1718271970-1004:1004: >>> HelpServicesGroup:S-1-5-21-3899866716-1901569443-1718271970-1001:1001: >>> Offer Remote Assistance >>> Helpers:S-1-5-21-3899866716-1901569443-1718271970-1006:1006: >>> >>> >>> /cygdrive/z $ ssh remote_server id >>> uid=185623(srivrama) gid=25(eng10) >> This looks like a domain login with a local group ID. It's not obvious that >> this would be a problem but perhaps you want to regenerate your '/etc/passwd' >> and '/etc/group' files. >> > > To clarify on the group-id, my UNIX server had separate group-id and > uid > [uid=185623(srivrama) gid=25(eng10)] where as in cygwin /etc/passwd > and > /etc/group - after running mkpasswd and mkgroup assigned default > ones. Ah, forgive me. When I first read through your output, I thought you were actually 'ssh'ing into your box and trying to access the remote file system after that. > Also, the my XP belongs to different domain compared to unix-servers. Well that's interesting. Can you attach your 'cygcheck'. > Under these conditions, would you suggest to keep same id or to > regerate > the /etc/passwd files. I think it would be worthwhile to see what 'mkpasswd -d -u srivrama' says. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/