[ic] Problems with no absolutes in config file / Using one source file for databases in two stores

Zack Johnson zack@office.standardprinting.net
Wed, 21 Mar 2001 16:47:27 -0500


Christopher,

Your questions are beyond my capacity.  My knowledge is but limited to
Bertrand Russell, 'ls' and cheap coffee.

As for the security issue, I would think that as long as everything is
within the 'interch' group, all would be well. . .

Good luck!

Zack

----- Original Message -----
From: "Christopher VanOosterhout" <chris@vanoosterhout.com>
To: <interchange-users@lists.akopia.com>;
<interchange-users@lists.akopia.com>
Sent: Wednesday, March 21, 2001 4:17 PM
Subject: [ic] It works Zack, ... but ... Problems with no absolutes in
config file / Using one source file for databases in two stores


>
> Zack,
>
> Thanks for the great suggestion ... it works and for that I am
> appreciative.  My remaining comment and question would be: Shouldn't it
> have worked the other way also?  The documentation seems to indicate that
> as long as you have the NoAbsolute set to No that Interchange should be
> able to grab any file anywhere as long as it has permissions for that
file.
>
> Also are there any know security or operations concerns with setting a
> database to link instead of a regular file.  I understand that using
> NoAbsolute set to No has security issues of its own  ... however I am the
> lone operator of all the stores currently and for the future operating on
> this machine.
>
> Christopher
>
>
> At 03:37 PM 3/21/01 -0500, Zack Johnson wrote:
> >Try a symbolic link (ln -s) from:
> >products/products.txt ->
> >/var/lib/interchange/westerbeke/products/products.txt
> >
> >Just make sure products/products.txt doesn't exist before trying to make
the
> >link.
> >
> >Good luck!
> >
> >Zack
> >
> >
> >----- Original Message -----
> >From: "Christopher VanOosterhout" <chris@vanoosterhout.com>
> >To: <interchange-users@lists.akopia.com>
> >Sent: Wednesday, March 21, 2001 2:59 PM
> >Subject: [ic] Problems with no absolutes in config file / Using one
source
> >file for databases in two stores
> >
> >
> > >
> > >
> > >
> > > Greetings,
> > >
> > > I have two stores currently and I would like to run them off the same
> > > source file for each of their product databases.
> > >
> > > To do this I have included the following line in one of my store's
config
> > > file to point to a datasource file in my other store:
> > > Database products
/var/lib/interchange/westerbeke/products/products.txt
> >TAB
> > >
> > > When I try to access this file in the new store I get the following
entry
> > > in my error.log file:
> > > 209.176.195.241 RYdkbdAQ:209.176.195.241 -
[21/March/2001:11:53:47 -0500]
> > > universal /cgi-bin/universal/32977 Security violation for
> > > NoAbsolute, trying to import
> > > /var/lib/interchange/westerbeke/products/products.txt
> > > 209.176.195.241 RYdkbdAQ:209.176.195.241 -
[21/March/2001:11:53:47 -0500]
> > > universal /cgi-bin/universal/32977 Runtime error: Security
> > >   violation.
> > >
> > > Now, you would think that this means that I do not have my NoAbsolute
set
> > > to no in my overall catalog.cfg at /var/lib/interchange/catalog.cfg,
> > > however here is that line as it appears in my file:
> > >
> > > NoAbsolute No
> > >
> > > I have stopped and restarted the Interchange server ... without
success.
> > >
> > > Any ideas?  Am I missing something obvious?  Is there a specific order
in
> > > which directives such as NoAbsolute need to be placed in the
catalog.cfg
> > > file?  I have tried it at both the beginning and the end of the file.
> > >
> > > Christopher
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>