Re: Darwin darwin or darwin6.0

2002-11-16 Thread Doug McNutt
We are getting somewhere here. I think I have to add code to support MacPerl and perl 
running under Windoze or DOS. Perhaps Parrot/Perl6 will fix it all up.

Using MPW on MacOS 9.1
perl -v
This is perl, version 5.004
perl -e 'print `uname`;'
### ToolServer - Command uname was not found. (Not surprising.)
perl -e 'print $^O;'
MacOS

Over on the MacPerl list the suggestion is to use Gestalt but I'll bet one can't do 
that until after the OS is determined somehow.

I donno about uname on a M$ box but $^O returns:
MSWin32   or   dos
depending on how the perl script is executed, booting into real DOS or emulated DOS 
under Windoze. Note the non-use of lowercase in both MacPerl and Windoze versions. I'm 
pretty sure it's Active Perl but I really don't know what's in use at the other end.

At 13:45 -0500 11/16/02, William H. Magill wrote:
opsys=`uname -a | cut -d  -f1`
print  opsys = $opsys
case $opsys in
OSF1) ?? DPM  Is that for Open Software Foundation - Linux?
SunOS)   ?? DPM  My ISP returns solaris for $^O in perl 5.00x but 
SunOS using uname.
HP-UX)
AIX)
Darwin|darwin)
esac


-- 

-- In Christianity, man can have only one wife. This is known as monotony. --



Re: hard links on HFS+

2002-11-16 Thread Lou Moran
Please understand this is no flame... but I got two words for you:

Goo Gle

Look it up.


On Saturday, Nov 16, 2002, at 23:17 America/New_York, Joseph Kruskal 
wrote:

On 11/1/02 3:47 AM, William H. Magill at [EMAIL PROTECTED] 
wrote:

... journaled file system ...

What is a journaled file system?


... the user level -- REAL ACLs being one of particular interest ...

What are ACLs?
What are REAL ACLs?


... especially for C2 type enterprise applications...

What are C2 type enterprise applications?

Thanks, Joe
--
Joseph B Kruskal  [EMAIL PROTECTED]







--
Lou Moran
[EMAIL PROTECTED]
http://ellem.dyn.dhs.org:5281/resume/




Re: hard links on HFS+

2002-11-16 Thread Wiggins d'Anconia
I suppose that is better than one word. RTFM ;-)

http://danconia.org

Lou Moran wrote:

Please understand this is no flame... but I got two words for you:

Goo Gle

Look it up.


On Saturday, Nov 16, 2002, at 23:17 America/New_York, Joseph Kruskal wrote:


On 11/1/02 3:47 AM, William H. Magill at [EMAIL PROTECTED] wrote:


... journaled file system ...


What is a journaled file system?


... the user level -- REAL ACLs being one of particular interest ...


What are ACLs?
What are REAL ACLs?


... especially for C2 type enterprise applications...


What are C2 type enterprise applications?

Thanks, Joe
--
Joseph B Kruskal  [EMAIL PROTECTED]







--
Lou Moran
[EMAIL PROTECTED]
http://ellem.dyn.dhs.org:5281/resume/







Re: hard links on HFS+

2002-11-16 Thread William H. Magill

On Saturday, November 16, 2002, at 11:17 PM, Joseph Kruskal wrote:


On 11/1/02 3:47 AM, William H. Magill at [EMAIL PROTECTED] 
wrote:

... journaled file system ...

What is a journaled file system?


In a brief word -- a mechanism whereby updates to the file system are 
kept in a journal file and then available for replay following a 
crash situation. It is a dramatically faster rebuild, and more robust 
than FSCK. Especially on large (over about 2-4 gig) disk drives. All 
commercial Unix systems today have a journaled file system either as 
default or as an available/optional add-on. Commercial distributions of 
Linux are rapidly moving in the same direction. (Several different 
add-on kits have been around for quite a while now.) See the two 
Apple's Knowledge base articles for more info on Apple's version.

... the user level -- REAL ACLs being one of particular interest ...

What are ACLs?

Acecss Control Lists.
These are property strings which tell/control many things about a given 
file.

What are REAL ACLs?

Apple uses the BSD ACL (called file flags) to provide locked file 
controls. However, most BSD unix tools have no knowledge of these -- ls 
for example -- so you need to use a different tool to read and change 
them. However, there are only 4 or 5 properties which can be 
controlled. Under BSD, ACLs are almost completely undocumented  (man 
chflags).

Real ACLs on the other hand are quite extensive -- see Digital's VMS 
for one set.
For example one can identify random individuals as authorized to read a 
file, and a completely different set of individuals to write it.  Real 
ACLs have no link to the standard Unix UGO permission scheme except as 
defaults.


... especially for C2 type enterprise applications...

What are C2 type enterprise applications?


C2 is an Orange Book Security designation. There is a Federal 
government certification process to rate an OS at a particular security 
level. (C2 is the lowest level considered secure.) Such certification 
is necessary for certain government contracts.  The technology, 
however, is useful for anyone, particularly anyone whose computing 
activities support the enterprise. That is to say -- where the 
corporate data resides.

T.T.F.N.
William H. Magill
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]