POV-Ray : Newsgroups : povray.unix : per-user config file? : i/o restrictions? [was: per-user config file?] Server Time
8 Jul 2024 20:05:03 EDT (-0400)
  i/o restrictions? [was: per-user config file?]  
From: gimi
Date: 8 Mar 2003 08:17:42
Message: <3e69ed76@news.povray.org>
hi,

Doctor John wrote:
> BTW I have a feeling (tho' I could be wrong) that the docs say that the use
> of povray.conf has not yet been implemented under Linux. Whatever, my
> ..povray.conf is basically totally non-restrictive - I've been doing a lot of
> shell-outs recently.

you are right. ;)

i was just wondering which one was wrong;
povray complaining about i/o restrictions, or the docs.
my feeling is that the docs are not up to date.

however, you are saying that the settings in povray.conf
are working for you... but i am just trying to set up
a very simple config, and it doesn't work at all:

~/.povray.conf
---
[File I/O Security]
none

[Shellout Security]
allowed

[Current Directory Read/Write]
allowed
---

(/usr/local/etc/povray.conf is the same)

povray is run with

   +Lmy_source_dir +Imy_source_dir/test.ini

it seems that /usr/local/etc/povray.ini is read, but
still, povray refuses to load any other source file!

---
   Input file: my_source_dir/test.ini (compatible to version 3.5)
[...]
   Library paths: /usr/local/share/povray-3.5
     /usr/local/share/povray-3.5/include my_source_dir
[...]
Parsing...Scene File Parser Initialization Error:
Reading from my_source_dir/test.ini is not permitted.
Check the configuration in /usr/local/etc/povray.conf
or ~/.povray.conf.
---

BTW, how can povray tell that the file is "compatible"
to anything if it cannot even read it??

(needless to say that i am the owner of the file, and
all the files are readable...)


could someone please confirm that this configuration
would actually work, so i can go and look for other
reasons...?


thanks in advance,

g.


-- 
"Life admits not of delays; when pleasure can be had, it is fit to catch
it.  Every hour takes away part of the things that please us, and 
perhaps part of our disposition to be pleased." -- Samuel Johnson
++ mailto:gim### [at] psicoch ++ http://www.psico.ch/ ++


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.