This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin makes shared folders on vista


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]