delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/24/11:21:10

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: cygwin on usb problems
Date: Sun, 24 Jun 2007 16:45:08 +0200
Lines: 27
Message-ID: <f5m02h$gse$1@sea.gmane.org>
References: <11273769 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
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

* nanothief (Sun, 24 Jun 2007 03:15:01 -0700 (PDT))
> I've installed cygwin onto my usb drive using the guide at
> http://www.dam.brown.edu/people/sezer/software/cygwin/ but I am having
> problems with file permissions with it. For various reasons, I choose to
> install cygwin onto a ntfs partition. When I create files on one computer
> from within cygwin, and then try to edit them from another computer, the
> permissions are denied for it. Also, if one computer the login is "Fred",
> and it is different on another computer, the owner and group become either
> random numbers or question marks.
> 
> To fix this, is either of the following two settings possible:
> 1) Disable file permissions on cygwin. Even if a file is not owned by the
> current user, I could still edit it.
> 2) Allow a user/group combination that is not tied to the windows
> environment the cygwin is running on. For example, root:root. (this would be
> best)
> 
> The last solution I could think of was removing the umask 022 command from
> the /etc/profile. This (I think) would have the effect of making all new
> created files having 777 or 666 permissions. However, does this affect files
> created from scripts or other programs? Or is there another solution to my
> problem that I haven't thought of?

Yeah, switch back to FAT. I had the same issue. NTFS without 
permissions is senseless.

Thorsten


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