POV-Ray : Newsgroups : povray.newusers : reading configuration file not permitted Server Time
30 Jul 2024 16:26:03 EDT (-0400)
  reading configuration file not permitted (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Marton Fabo
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 07:28:55
Message: <409b72f7@news.povray.org>
Warp wrote:
> Marton Fabo <mor### [at] eikbmehu> wrote:
> 
>>[/home/morton]$ ~/povray-3.5/povray ~/.povray.conf +Itest.pov
> 
> 
>   You don't give povray its configuration file in the command line. It
> reads it all by itself.

Strangely, if I don't specify it on the command line, then it just seems 
to skip it, and complains about that reading test.pov is not permitted. 
I think it skips ~/.povray.conf because its contents are:

[Permitted Paths]
read+write*=.

which should allow full access to the current directory and its subdirs. 
Povray complains nevertheless, so seemingly it doesn't read that config 
file.

The other possibiliy I can imagine is that since there is no global 
(system-wide) config file, povray thinks the system-wide permitted paths 
list is empty (of which I can't be sure). And since the user config 
files can only further constrain the global settings, my ~/.povray.conf 
's settings have no effect. Does this mean that I have to recompile 
povray anyway, with specifying a system-wide config file path to which I 
have access?

thx
mortee


Post a reply to this message

From: Christoph Hormann
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 07:50:02
Message: <c7fsup$ni0$1@chho.imagico.de>
Marton Fabo wrote:
> 
> Strangely, if I don't specify it on the command line, then it just seems 
> to skip it, and complains about that reading test.pov is not permitted. 
> I think it skips ~/.povray.conf because its contents are:
> 
> [Permitted Paths]
> read+write*=.
> 

How did you assume this being valid syntax for the ~/.povray.conf of 
POV-Ray 3.5?  The Documentation describes the format of the povray.conf 
file in the platform specific part.  Also note the POV-Ray installation 
package (both source and binary) come with a povray.conf that should 
work without problems.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Marton Fabo
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 08:14:45
Message: <409b7db5$1@news.povray.org>
Christoph Hormann wrote:
> How did you assume this being valid syntax for the ~/.povray.conf of 
> POV-Ray 3.5?

I'll tell you: since I just tried to solve my problem any way I could, I 
tried this thing also. Googling aroud revealed a documentation page 
regarding this permission stuff - and despite it was the docs of 3.6 
beta, I thought I'd give it a try. After all, why should I have assumed 
that *anything* I find in the beta docs wouldn't apply to 3.5?

Additionally, this syntax can be found in the stock povray.conf which 
comes with 3.5, so I guess I wasn't that really wrong with my assumption.

> The Documentation describes the format of the povray.conf 
> file in the platform specific part.  Also note the POV-Ray installation 
> package (both source and binary) come with a povray.conf that should 
> work without problems.

Yes. And what good is it if I don't have the privilege to install it 
where it's due, and thus povray thinks the list of permitted paths is 
empty (which I'm free to constrain further through user-specific 
configfiles)?

Anyway, thanks for the valuable input.

mortee


Post a reply to this message

From: Christoph Hormann
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 08:30:01
Message: <c7fv87$64n$1@chho.imagico.de>
Marton Fabo wrote:
> [...]
> 
> Additionally, this syntax can be found in the stock povray.conf which 
> comes with 3.5, so I guess I wasn't that really wrong with my assumption.

No, both the source package and the linux binary version of POV-Ray 3.5 
  come with a valid povray.conf.  How could it be different - the syntax 
you mention was not even invented when POV-Ray 3.5 was published...

>> The Documentation describes the format of the povray.conf file in the 
>> platform specific part.  Also note the POV-Ray installation package 
>> (both source and binary) come with a povray.conf that should work 
>> without problems.
> 
> Yes. And what good is it if I don't have the privilege to install it 
> where it's due, and thus povray thinks the list of permitted paths is 
> empty

Read what i wrote, you can simply copy the povray.conf in the package at 
the appropriate place and it will work.  I never said you should use the 
install script.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Marton Fabo
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 12:06:18
Message: <409bb3fa$1@news.povray.org>
Christoph Hormann wrote:
> No, both the source package and the linux binary version of POV-Ray 3.5 
>  come with a valid povray.conf. 

I haven't denied that either.

> How could it be different - the syntax 
> you mention was not even invented when POV-Ray 3.5 was published...

Now I dounle-checked it, and indeed, the syntax is similar but 
different. And then what? It was a failed attempt to somehow work around 
my problem. Do you think I should be burned for trying, and hoping that 
it would work?

>> Yes. And what good is it if I don't have the privilege to install it 
>> where it's due, and thus povray thinks the list of permitted paths is 
>> empty
> 
> Read what i wrote, you can simply copy the povray.conf in the package at 
> the appropriate place and it will work.  I never said you should use the 
> install script.

Please read the whole thread before being so smart. I already mentioned 
that I have no root privileges on the machine in question, so I can't in 
any way install a config file to /usr/local/etc, where povray looks for 
it. I don't give a sh*t about the install script.

mortee


Post a reply to this message

From: Christoph Hormann
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 12:30:02
Message: <c7gdfv$37j$1@chho.imagico.de>
Marton Fabo wrote:
> 
> Now I dounle-checked it, and indeed, the syntax is similar but 
> different. And then what? It was a failed attempt to somehow work around 
> my problem. Do you think I should be burned for trying, and hoping that 
> it would work?

I have the impression you are slightly loosing perspective here, if you 
want to solve your problem you should follow the suggestions Warp and 
myself gave.  If you just want to argue about your assumptions how 
POV-Ray works and how it should work this is not the right place.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 12:55:47
Message: <409bbf93@news.povray.org>
In article <409b7db5$1@news.povray.org> , Marton Fabo <mor### [at] eikbmehu> 
wrote:

> Yes. And what good is it if I don't have the privilege to install it
> where it's due, and thus povray thinks the list of permitted paths is
> empty (which I'm free to constrain further through user-specific
> configfiles)?

What makes you believe this?  You just got this idea and now pretend that it
must be correct, ignoring the advice you had been given, which was to copy
the configuration file where it belongs.  Now, where could that be given
Christoph already acknowledged you are not root? - Your home dir perhaps???

    Thorsten


PS: Please get you timezone and/or clock fixed!


Post a reply to this message

From: Ross
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 15:56:43
Message: <409be9fb$1@news.povray.org>
"Marton Fabo" <mor### [at] eikbmehu> wrote in message
news:409bb3fa$1@news.povray.org...
> Christoph Hormann wrote:
> > Read what i wrote, you can simply copy the povray.conf in the package at
> > the appropriate place and it will work.  I never said you should use the
> > install script.
>
> Please read the whole thread before being so smart. I already mentioned
> that I have no root privileges on the machine in question, so I can't in
> any way install a config file to /usr/local/etc, where povray looks for
> it. I don't give a sh*t about the install script.
>
> mortee

hi.

from what I gather, he is saying that you should take the conf file that
comes with the distribution, and place that in your home directory, and name
it appropriately. that is $HOME/.povray.conf

also from previous threads, I gather that swearing, even using *'s in place
of letters, is frowned upon. i personally could give a rats "you know
what"... but just fair warning ;)

-r


Post a reply to this message

From: Marton Fabo
Subject: Re: reading configuration file not permitted
Date: 7 May 2004 22:31:48
Message: <409c4694$1@news.povray.org>
Thorsten Froehlich wrote:
> What makes you believe this?  You just got this idea and now pretend that it
> must be correct, ignoring the advice you had been given, which was to copy
> the configuration file where it belongs.  Now, where could that be given
> Christoph already acknowledged you are not root? - Your home dir perhaps???
> 
>     Thorsten

Sorry, you are both right. I got way too nervous because I have a short 
deadline with a task involving POV-Ray, and I'd really have better 
things to do than to fight with it on config files and path permissions. 
Again, sorry.

> PS: Please get you timezone and/or clock fixed!

Yea, I noticed that one in the meantime. Actually, the posts with wrong 
timestamps were not sent from my machine, but from a crappy university 
box which seems to have its clock set wrong. I haven't noticed it in time.

mortee


Post a reply to this message

From: Warp
Subject: Re: reading configuration file not permitted
Date: 8 May 2004 17:27:33
Message: <409d50c5@news.povray.org>
Marton Fabo <mor### [at] eikbmehu> wrote:
> Please read the whole thread before being so smart. I already mentioned 
> that I have no root privileges on the machine in question

  I didn't know you need root privileges to copy a file named povray.conf
to ~/.povray.conf

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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