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

Oleg Kobchenko <[EMAIL PROTECTED]> writes:

> See this message about making Security tab visible in Explorer.
>    http://www.jsoftware.com/pipermail/programming/2007-May/006837.html

Thanks; that was easy.

> What you see in Cygwin is only an approximation,
> e.g. -x- for folder means you can browse it in bash,
> but in Windows it means that it is Executable permission
> for file; List folder and Traverse folder are separate permissions;
> all inherited (or not) down descendent folders and files.
>
> Turn on security folder and see where Everyone does not
> have Read & Execute permission.

Presuming that grayed-out check marks are inherited, the orig. dll only
had read and write plus inherited "special permissions."  Ah, clicking
"Advanced" selts me see who set permissions -- and /none/ on the
original dll have been inherited.

The one I grabbed from sqlite.org and unpacked using Windows unpack
program has inherited all permissions except special permissions.  It
inherited them from the lib/ folder, it says.

  Aside: doesn't MS realize it's /so/ much faster to have a CLI than a
  GUI for things like this?

I have 5 (!) group names on lib/; none of them have any checkmarks
except for special permissions.  CREATOR OWNER passes full control to
subfolders and files only.  CREATOR GROUP and Everyone passes most
everything except full control, delete, change permissions, and take
ownership to subfolders and files.  

So it appears that permissions were set either by the lib folder or by
the dll file itself.

> There is also a slight chance that not setting Execute
> permission is controled by the zip program settings.

FWIW, Edit > Configure > External Programs shows the unzip program as
unzip -o.  I presume that's cygwin's unzip.  -o means overwrite without
prompting.  

> You need to configure your system so that it does
> not omit the Executable permission.

I'd love to, if I only knew how. :-)

> Here's a list of all DLL'ed addons to practice.
> Do one at a time and check permissions until 
> it's working.

Er, ...

> arc\zip\lib\zlibwapi.dll
> data\sqlite\lib\sqlite3.dll
> general\pcall\pcall.dll
> general\sfl\jsfl.dll
> graphics\graphviz\bin\freetype6.dll
> graphics\graphviz\bin\jpeg.dll
> graphics\graphviz\bin\libexpat.dll
> graphics\graphviz\bin\libexpatw.dll
> graphics\graphviz\bin\png.dll
> graphics\graphviz\bin\z.dll
> graphics\graphviz\bin\zlib1.dll
> math\fftw\jfftw.dll
> math\lapack\jlapack.dll

That'll keep me busy for a bit! :-) 

I'm too far behind on other things right now; I'll have to do this
later.  I did fire up the lapack lab, on the theory that would tell me
if it worked or not quickly.  The lapack lab works, as does the fft lab.
So it seems to be a somewhat isolated problem, assuming that those labs
would fail if the dlls were blocked.

What I keep coming back to is the old "what changed?"  Last week, I
installed and ran 1.02 easily.  When I upgraded to 1.04, it failed.  So
in the past, I have been able to install and run sqlite3.dll
successfully using PacMan.  As of about last Friday, I updated through
PacMan and was no longer able to.  I keep trying to think of anything
else that might have changed at about the same time, but I keep coming
up blank.  

I'm guessing, but it's only a guess, that there's something not set
somewhere on my system that's picking up a default, and what it's
picking up changed somehow.  However, what you guided me through seems
to indicate that permissions were set either on the folder lib/ or on
the dll itself, presumably by the unzip program.  I didn't change my
selection of unzip program, but I may have run cygwin setup to update
that system last week sometime.  It's thus possible that I've got an
updated unzip from cygwin, but I don't recall seeing a notice about that
on the cygwin mailing list (I only skim it for important changes,
though; I could have missed something).  Hmm, unlikely.  I'm running
unzip 5.52 dated 28 February 2005.

When I get some time, I'll try running PacMan again and seeing what
happens, and I'll try checking permissions on all of those dlls.

> math\lbfgs\lbfgs.dll
> media\image3\image3.dll
> media\image3\pthreadgc.dll
> media\ming\lib\winming.dll
> xml\sax\lib\libexpat.dll
> xml\sax\lib\libexpatw.dll

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

iD8DBQFGZMXN3J3HaQTDvd8RAvB7AJsEOVXtFu7M/4vlBc7aVgQQmFn3iACdHB3M
yjP6DR0oT9eNueXQSTL/hcQ=
=iY+S
-----END PGP SIGNATURE-----

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

Reply via email to