Re: TNetSystem access to directory via anonymous user

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 11 Mar 2005 01:59:50 +0100


Hi Sue,

  this should now be fixed in the cvs head. Please try and let me know.

Cheers, Fons.

Sue Kasahara wrote:
> Hi roottalk,
> I am attempting to use TNetSystem to view directory contents from
> a system which has been set up to run the rootd server with anonymous
> usage.
> So far I've been unable to use TNetSystem::OpenDirectory() successfully,
> although I can use TNetFile to open files from the same anonymous rootd
> system.
> I dug a little bit and see that rootd returns the error message:
> "anonymous users may not open directories"
> to TFTP::OpenDirectory when it sends the open dir request to rootd.
> I'm wondering if its possible to remove this restriction.
> So that you know what we're up to, we have long used the rootd server
> to read data files
> at the detector site, but have required an nfs mount to read the
> directory of
> data files to determine which files are available. We would like to remove
> the nfs mount and use rootd to both read the directory contents and read
> the
> data files. The anonymous usage has proved useful, with users only able to
> read (not write) to the data directory.
> Thanks for any advice.
> -Sue Kasahara

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Fri Mar 11 2005 - 01:59:52 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET