Thanks  for your help, see below. Just following up for those that may
travel my path.

Thanks,
Don

On Mon, Apr 8, 2013 at 2:33 PM, p4trykx <[email protected]> wrote:

> **
> W dniu 08.04.2013 o 19:28 Don Veino <[email protected]> pisze:
>
>
> Thanks for your reply. How would I do this without disabling the file
> reads I'll be depending upon for my use with PHP? As you point out this is
> probably overkill but I'd like to understand the idea.
>
> First of all it should be possible to change PHP settings to access files
> outside www root, however it might be complicated.
>

Yes, it appears something can be done with BASEDIR under PHP but it is
complicated (at least to me). With the option of moving the owfs mount dir
to the web root I'm going to avoid the BASEDIR approach. :)

Maybe the process which runs php can't access the /mnt/1wire because it
> does not have the permission. Try changing /mnt/1wire to be readable to all
> users. There is also an option 'allow_other'
>
> Did both before, did not work.


> But if the server you are running is apache you could easly put a
> appropriate .htaccess file in the directory and make it invisible to the
> outside world thorough www sever.
> It should be something like this.
>
> http://www.kavoir.com/2009/01/htaccess-deny-from-all-restrict-directory-access.html
>
>
I'm using lighttpd. I can't create normal files in the owfs mount
directory, I believe this is an artifact of it being a dynamically created
FUSE filesystem? (I had tried to put an index.html in that directory to at
least foil a directory listing via the webserver and discovered I couldn't
save the file.) It displays something like a "function not implemented"
error when I try to save from vi.


> --
> p4trykx
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to