X-Spam-Check-By: sourceware.org
Message-ID: <b46925130706250017i77b2bfe6u58e86b7354ca0b6b@mail.gmail.com>
Date: Mon, 25 Jun 2007 17:17:37 +1000
From: "nano thief" <nanothief@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin on usb problems
In-Reply-To: <467EB1BF.374723E1@dessent.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <11273769.post@talk.nabble.com> <f5m02h$gse$1@sea.gmane.org> 	 <467EB1BF.374723E1@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 6/25/07, Brian Dessent <brian@dessent.net> wrote:
> Thorsten Kampe wrote:
>
> > > 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.
>
> It's not senseless.  Even without permissions, NTFS has a lot more going
> for it than FAT, such as compression, hard links, non-insane timestamp
> accuracy, largefile support, ...

Yes, I was using it for the file compression. With my install of
cygwin, it almost halved the installation size, which is very useful
when you have a ton of programs on your usb and only 4gb to play
with...

>
> To the OP, I think you're looking for CYGWIN=nontsec.
>
Thanks that worked great! The only problem I had after that was that
existing NTFS permissions were still there, i.e opening a folder using
explorer would be refused when on a wrong computer. I fixed that by
moving all my files onto a fat partition, then back to my ntfs
partition.

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

