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:
Carl McNamee <[log in to unmask]>
Reply To:
Carl McNamee <[log in to unmask]>
Date:
Mon, 24 Sep 2001 09:51:45 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
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.

Carl McNamee
Systems Administrator
Billing Concepts
(210) 949-7282

-----Original Message-----
From: Lars Appel [mailto:[log in to unmask]]
Sent: Saturday, September 22, 2001 6:00 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] acd's maybe


> ... The problem is that in between
>the file being moved and chmod'ed someone may have to tried to access the
>file.

I haven't looked up documentation for the default/mandatory ACD that
MPE creates for a file copied to an HFS directory, but maybe it uses
a very strict one that has to be "relaxed" by your chmod later?

>So what I am trying to do is copy the file with the correct security
>access (read only) on the file. Can anyone point me in the right direction.

Might something similar to the following do the trick?

 :build example ;rec=,,b
 :# using build to represent your file creation
 :altsec example ;newacd=(r:www.apache)
 :copy example, /APACHE/PUB/htdocs/example.html
 :# use listfile ,acd to verify the ACD settings
 :purge example

Assuming that the user doing this can copy to the target directory ;-)

Lars.

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

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

ATOM RSS1 RSS2