X-Spam-Check-By: sourceware.org Message-ID: <11273769.post@talk.nabble.com> Date: Sun, 24 Jun 2007 03:15:01 -0700 (PDT) From: nanothief To: cygwin AT cygwin DOT com Subject: cygwin on usb problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nanothief AT gmail DOT com X-IsSubscribed: yes 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 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? -- 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/