public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Missing commands/incorrect behaviour after update
@ 2002-11-12 11:25 Eriksson, Michael
  0 siblings, 0 replies; 8+ messages in thread
From: Eriksson, Michael @ 2002-11-12 11:25 UTC (permalink / raw)
  To: cygwin

Randall
<snip>
> >Well, 0666 does not seem like a good idea, since it gives 
> everyone the
> >right to change the files. Of course the main use of umask 
> is to restrict
> >access from group and other.
> 
> It's a very good idea and has been "the right way" (or, to use a 
> now-archaic phrase, "The Unix Way (tm)") ever since version 7 
> Unix when 
> umask was introduced. The whole point of writing the code to 
> give new files 
> full access (0666 or 0777) is so that the user is in complete 
> control by 
> virtue of the "umask."
> 
> You do understand that the umask value is "subtracted" 
> (bit-wise) from the 
> file mode specified by the program creating the new file 
> system entity, right?

No, I was actually under the impression that is was substracted
from 777. Thank you for setting me straight.
(That comes working with windows...)

<snip>

Michael

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <2C5637A6A7CE844EA3C0A94565479F520FFF8D@dest-as20-002.int.b auer-partner.com>]
* RE: Missing commands/incorrect behaviour after update
@ 2002-11-12  6:32 Eriksson, Michael
  0 siblings, 0 replies; 8+ messages in thread
From: Eriksson, Michael @ 2002-11-12  6:32 UTC (permalink / raw)
  To: Max Bowsher, cygwin

Max,
> > Hi,
> >
> > after updating my cygwin installation on Friday (with repeated
> > re-updates on Monday) I have several problems.
> >
> > 1) Several commands (at least cat and fold) are missing, even if the
> > man pages are still there. Both the download and installations where
> > (eventually) made with everything available through the installer.
> 
> Re install the relevant packages.
> http://cygwin.com/packages/ if you don't know which the 
> relvant packages
> are.

I have looked there already, but it is not obvious to me what packages would be
relevant. (Neither from the original listing nor from the 206 matches for a
"cat"-search.)

> > 2) A newly created directory can only be entered after chmod 700 (or
> > similar). This is (I believe) consistent with my umask of 
> 122, but a)
> > inconsistent with previous behaviour, b) bloody stupid.
> 
> Ok... You ask (set your umask) your computer to do something, and then
> expect it do to something else?
> Analogous situation:
> $ touch foo bar
> $ rm foo
> <computer deletes foo>
> "No, stupid computer, you should have realized I wanted to delete bar
> instead!"

No need to get sarcastic. I have not worked extensively with a "real"
unix system for years, but I do not recall this problem. In particular:
To have reasonable default settings for directories I must include
1 in the chmod-code, but for files exclude it? Hm...

> As to why the behaviour has changed, ntsec is now on by 
> default in recent
> Cygwin DLLs.

Speculating that ntsec is means NT security, how do I/can I turn it off?
I do almost all security handling through Windows Explorer anyway,
since the incompatibilities have caused me to many problems.

> > 3) I have sporadic occurences of being automatically put in 
> input mode
> > (instead of the correct normal mode) when going through the history
> > with the arrow keys or j/k. (Using, of course, vi command line
> > editing.)
> 
> No idea - I don't use vi command line editing.

Your loss entirely :-)


Michael 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Missing commands/incorrect behaviour after update
@ 2002-11-12  3:40 Eriksson, Michael
  2002-11-12  4:58 ` Max Bowsher
  0 siblings, 1 reply; 8+ messages in thread
From: Eriksson, Michael @ 2002-11-12  3:40 UTC (permalink / raw)
  To: cygwin

Hi,

after updating my cygwin installation on Friday (with repeated
re-updates on Monday) I have several problems.

1) Several commands (at least cat and fold) are missing, even if the man pages
are still there. Both the download and installations where (eventually)
made with everything available through the installer.

2) A newly created directory can only be entered after chmod 700 (or similar).
This is (I believe) consistent with my umask of 122, but a) inconsistent with
previous behaviour, b) bloody stupid.

3) I have sporadic occurences of being automatically put in input mode
(instead of the correct normal mode) when going through the history with
the arrow keys or j/k. (Using, of course, vi command line editing.)

Can anyone explain these strange problems? What can I do to get a properly
working setup?

In case of plattform dependencies I use Windows 2000 SP2.

And yes, I failed to make a backup of the existing older downloaded files.


Grüsse,

Michael

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-11-12 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2C5637A6A7CE844EA3C0A94565479F529B050E@dest-as20-002.int.b auer-partner.com>
2002-11-12 11:07 ` Missing commands/incorrect behaviour after update Randall R Schulz
2002-11-12 11:25 Eriksson, Michael
     [not found] <2C5637A6A7CE844EA3C0A94565479F520FFF8D@dest-as20-002.int.b auer-partner.com>
2002-11-12  9:44 ` Randall R Schulz
2002-11-12 10:14   ` Igor Pechtchanski
2002-11-12 10:21   ` Randall R Schulz
  -- strict thread matches above, loose matches on Subject: below --
2002-11-12  6:32 Eriksson, Michael
2002-11-12  3:40 Eriksson, Michael
2002-11-12  4:58 ` Max Bowsher

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).