This is the mail archive of the
mailing list for the Cygwin project.
cygwin on usb problems
- From: nanothief <nanothief at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 24 Jun 2007 03:15:01 -0700 (PDT)
- Subject: cygwin on usb problems
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
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?
View this message in context: http://www.nabble.com/cygwin-on-usb-problems-tf3971785.html#a11273769
Sent from the Cygwin Users mailing list archive at Nabble.com.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html