HP3000-L Archives

September 2001, 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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Mon, 24 Sep 2001 19:32:31 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
Carl wrote...
>Another option, assuming you do this in the posix shell (I missed the
>original post), is to set the "umask" in /etc/profile.local to something
>that would work for you until the chmod is executed.

Ah, good point. Something in the line of...

 :xeq /bin/sh " -c 'umask 644; cp MYFILE /APACHE/PUB/htdocs/myfile.txt' "

Can even be used when stepping into the shell just for a moment.
However, a sequence of ALTSEC and COPY commands might be somewhat
more efficient than a /bin/sh child process when living in the CI
for most of the other activities. If you're in the shell anyway,
the umask and cp is cheap, though.

Lars.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2