HP3000-L Archives

January 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Mon, 25 Jan 1999 11:01:18 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Brad Feazell writes:
>
> I'm looking for a way to set POSIX file permissions from MPE. For instance,
> I'd like to do something equivalent to:
>
>   chmod 755 /APACHE/PUB/cgi-bin/myfile

Try:

        :XEQ CHMOD.HPBIN.SYS '755 /APACHE/PUB/cgi-bin/myfile'

> I tried ...
>
>   ALTSEC ./cgi-bin/x;access=(r,w:ANY)
>
> but that didn't work. Is there a way to do this?

You can do it with :ALTSEC, but you need to specify a rather complex ACD.  It's
far easier to let chmod create the ACD for you (POSIX permissions are
implemented via ACDs).
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2