public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "E.Baud" <ebdjpg@free.fr>
To: cygwin@cygwin.com
Subject: Re: cygwin makes shared folders on vista
Date: Tue, 20 Nov 2007 14:50:00 -0000	[thread overview]
Message-ID: <13854517.post@talk.nabble.com> (raw)
In-Reply-To: <13187930.post@talk.nabble.com>


Hello,

nmehta wrote:
> 
> ...
> Also, if you create a directory in Cygwin on /c like you did it does not
> show up as shared.  If you create a directory in your Vista home directory
> (/c/Users/<username>/) on the other hand it shows up as shared.  
> ...
> I can also say that CYGWIN=notntsec does fix this behavior (created
> folders are no longer shared). 
> ...
> 

Same thing for me: it depends on the current directory... subdirectories of
Desktop have also these unexpected shared files/directories generated.

Setting this variable CYGWIN=notntsec (with .bashrc or Vista system
environment variables)  is functioning well. No shared tags anymore when
creating files/dir from cygwin shell.

But if you compile a c program with cygwin/gcc(3.4.4) that generate files,
as this test-one : 
http://www.nabble.com/Fwd%3A-Stupid-Vista-64-tricks-p12321538.html
Stupid-Vista by Georg Nikodym , 
then, this variable seems not to be used when the .exe file is not executed
from Cygwin-shell (run directly from windows explorer, for example). 
And then again appear problems of shared files/directories.
... I tried to call setenv(CYGWIN, nontsec,1) in C file, without success. 

One other strange thing, is that: if the .exe file is run "as
Administrator", then there's no more shared tags !? (my current Vista user
is belonging only to Administrators group; so, why is there a difference !?)

Emmanuel.
-- 
View this message in context: http://www.nabble.com/cygwin-makes-shared-folders-on-vista-tf4360979.html#a13854517
Sent from the Cygwin list 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/

  parent reply	other threads:[~2007-11-20 10:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 16:45 jxt
2007-10-12 19:45 ` nmehta
2007-10-12 20:08   ` jxt
2007-10-12 20:39     ` Matthew Woehlke
2007-10-12 20:53   ` Brian Dessent
2007-10-13  9:17     ` nmehta
2007-10-14  1:16       ` Larry Hall (Cygwin)
2007-10-14  7:26         ` nmehta
2007-10-14 15:32           ` Christopher Faylor
2007-10-15 14:43             ` jxt
2007-10-15 16:10               ` DePriest, Jason R.
2007-11-20 14:50       ` E.Baud [this message]
2007-11-23 12:34         ` Corinna Vinschen
2007-11-23 15:12           ` Corinna Vinschen
2007-11-27 11:22             ` E.Baud
2007-11-27 20:01               ` joekrahn
2007-11-26 20:41           ` Matthew Persico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13854517.post@talk.nabble.com \
    --to=ebdjpg@free.fr \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).