-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Raul Miller" <[EMAIL PROTECTED]> writes:

> At the cygwin prompt, type:
>    umask
>
> umask of 0000 means no permission changes.
> Any 2s mean turn off execut permmission for that
> person or group.  (From right to left is public,
> group and user permission -- but I don't really know
> what "group" means on windows -- probably the
> right most two digits mean the same thing --
> "everyone").

I did that and got 0022.

> You can change umask by passing a simiilar
> number to it on the command line.  Many cygwin
> users probably have something like umask 022 in
> /etc/profile (so it takes effect every time they start
> a new shell).

I'm now left with two questions:

  What are the consequences of putting umask 0000 in /etc/profile?  That
  sounds as if it could open a security hole.  I realize Windows/cygwin
  is different than *nix, but that doesn't necessarily make me feel more
  secure.  It sounds a bit as if one should at most unpack with a script
  that saves the old umask, sets it to 0000, runs unzip, and then
  restores the old umask.  Am I being paranoid?

  Why does unzip seem to work sometimes and not others?  As you saw in
  the crude (as I now know) ll listing from bash, different directories
  in my ~addons folder have different permissions, ranging from 700 to
  755.  FWIW, both data/ (in which the failed sqlite/ resides) and math/
  (in which the successful lapack resides) have 755.  

I did a bit more checking.  Of an erratic sample of dlls, I found that
graphviz/bin/libexpat*.dll don't have execute permissions; all the rest
in my sample (of about 3-4) looked okay.  I don't see a graphviz lab or
demo or I would try it; no time to learn and try it tonight.

Bill
- -- 
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFGZMl43J3HaQTDvd8RAo+lAJ9qzakQZGUSv6d1hzrGs9my/4CqYQCfS39u
5b4okaI/CAgZlyEs4R1Tgs0=
=FJDN
-----END PGP SIGNATURE-----

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to