delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/02/18:42:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Mon, 2 Jun 2003 18:42:07 -0400
To: cygwin AT cygwin DOT com
Subject: Re: sharing hd partition betw Linux and Cygwin
Message-ID: <20030602224207.GB7398@ny-kenton2a-710.buf.adelphia.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030602200411 DOT GB5897 AT ny-kenton2a-710 DOT buf DOT adelphia DOT net>
Mime-Version: 1.0
In-Reply-To: <20030602200411.GB5897@ny-kenton2a-710.buf.adelphia.net>
User-Agent: Mutt/1.3.28i
From: somian AT adelphia DOT net (Soren Andersen)

On Mon, Jun 02, 2003 at 04:04:11PM -0400, Soren Andersen (me) wrote:
{snip}
> What: The entire logical partition is mounted on Linux using a mount
> point /linms-common/ and the CVS area is under that
> (/linms-common/SOMIANCVSROOT). A parallel arrangement (mountpoint
> differing but that's all) exists under Cygwin-cvs. No problems exist (or
> have manifested yet) under Cygwin, but under Linux I am having problems
> with running CVS commands, and those problems are based on perms.
> 
> How (it fails): I cannot get CVS to run because it cannot write any
> files to that dir.
> 
> I am trying to use the mount(1) options to the entry in my Linux
> /etc/fstab "uid=NNN,gid=NNN" in order to correct for a potential problem
> arising from differing users on the two systems. I have uid=[the numeric
> UID on Win98-Cygwin] and gid=[my GID under Linux] in hopes that group
> access rights are sufficient, but it turns out that they are not. By
> default all files (dirs) mounted on this vfat - type filesystem under
> Linux `mount' are set with perms rwxr--r-- so group members never have
> 'write' perms. From what I can tell from the docus for Linux 'mount',
> there is no way to change this situation on a mount like
> Win9x-vfat->(into)Linux.

I've fixed it myself. I set the uid= my numeric uid on Linux, not the
one on Win98-Cygwin. It probably should have been obvious to me to do so
initially, but I am pretty new to all this linux stuff.

Now sharing the drive space between the cvs tool (and cpan, too!) works,
I think (haven't actually tried cvs yet but had to work on cpan a few
minutes ago, and discovered it was suffering from the same difficulty).

  Soren


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