Hello, I’ve register some datasets under my proof user, for exaple:
/test1/turra/mydataset
now I can use it, but I need that all the users under the test1 group could access to this dataset. It doesn’t works, I’m the only one who can use this dataset
now another user logged in the same machine try to get the dataset:
TProof::Open("localhost")
gProof->ShowDataSet("/default/turra/MC11b_POWHEG_120_p868_ggH")
Error in <TProof::GetDataSet>: error receiving datasets information
Warning in <TProof::ShowDataSet>: no such dataset: /default/turra/MC11b_POWHEG_120_p868_ggH
what is wrong? I can see the information about this dataset in /proof/workingdirs/turra/datasets/default/turra, where /proof/workingdirs/turra is my sandbox
To share datasets the directory containing the information must be posted via the directive ‘xpd.datasetsrc’ by the master xproofd.
In this way all users get the internal TDataSetManager instance initialized with that directory; otherwise the default is used, which /dataset, therefore different for each user.
Unfortunately there is not much documentation about this except the description of the directive itself. I will add now at least a f.a.q. .
The directory must allow reading by all users and writing in the users subdirectories, and must have the group subdirs already created; e.g., with this directive
if masternode
xpd.datasetsrc file url:/shared/dir/dataset opt:Av:Ar:
fi
the directory /shared/dir/dataset is used for each user; each user space is /shared/dir/dataset//
where is the PROOF group (‘default’ if not specified; see root.cern.ch/drupal/content/defi … oups-users).
The directories /shared/dir/dataset/ must be created by the admin and should be writable and readable by all users; typically their are owned by an admin user. Then PROOF will create the user subdirs, owned by the user, where the dataset metafiles (a ROOT file .root containing two TFileCollection) are stored.