Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Solaris, O8i, utl_file file permissions
It's obvious that UTL_FILE is not looking at your .profile and the umask
defined there. If you want to change the file permissions, then you'll
have to code it. For instance:
BEGIN
<UTL_FILE routine to make the file>; <change the file permissions>;
HTH,
Brian
Andy Hardy wrote:
>
> Hi,
>
> We're using utl_file to write files, but the file permissions are always
> set to rw for Oracle only - so no-one else can read them!
>
> The Oracle user uses the Korn shell, and the .profile does have a umask
> of 022, so it *should* work?!?!
>
> Our production system, running on HP-UX, has no such problems and the
> file permissions are as expected.
>
> What should I be looking at?
>
> Andy
> --
> Andy Hardy. PGP ID: 0xA62A4849
> ===============================================================
-- ======================================== Brian Peasland Raytheons Systems at USGS EROS Data Center These opinions are my own and do not necessarily reflect the opinions of my company! ========================================Received on Fri Mar 23 2001 - 08:11:50 CST
![]() |
![]() |