delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/14/12:16:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 14 Jan 2010 11:15:52 -0600
Message-ID: <b6ad4ed71001140915i4d7e4b53gf88f8f124942cc81@mail.gmail.com>
Subject: permissions on mounted drives
From: John Yamokoski <yamokosk AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

Greetings,

I found a similar message in the archives
(http://sourceware.org/ml/cygwin/2008-06/msg00068.html), but I can't
divine a solution to my problem from it. I have essentially the same
problem: I have mounted some drives from a samba server on my Windows
box. But in cygwin, I get "permission denied" when I try and run
scripts or access some files on the share drives. I know this is a
permissions mapping issue. For instance, my id in cygwin:

$ id -a
uid=1015(yamokosk) gid=513(None)
groups=0(root),544(Administrators),545(Users),513(None)

And when I ssh into basement and use the same command,

[yamokoski AT samba-server ~]$ id -a
uid=527(yamokoski) gid=200(XXXXXXX) groups=100(users),200(XXXXXXX),521(R2)

I took a look at the documentation for mkpasswd/mkgroup. But I can't
figure out how these commands can help me fix my problem. I did try
and poke around in the /etc/passwd and manually tried some things but
nothing worked. Or can this be fixed via some different mount options?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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