Print

Print


Hi,

for our application we need to check whether a certain file can be read or 
written to by the xrootd server. In the future we would like to use 
credentials provided by the client user to be used to determine access 
privileges. We are not sure if any current user has implemented such a setup.


Cheers,  

Andreas,
Jan Erik.


On Friday 05 May 2006 12:44, Fabrizio Furano wrote:
> Uhm,
>
>   don't be sorry please. I missed that, so I am sorry...
>
>   I gave a look at the protocol, and I agree with you. It seems that
> there is no way of getting the current access mode for a file. Well, I
> totally ignore what is it for in your case, since the files typically
> are owned by the server.
>
>   Anyway, if it does make sense, we could speak about adding some info
> to the stat response or a new request symmetrical to chmod. From my
> point of view there is not much effort, since I have to add something
> tothe interface in the next days. Andy, what do you think?
>
> Fabrizio
>
> Andreas Petzold wrote:
> > 	Hi Fabrizio,
> >
> > sorry to bother you directly, but my posting to the xrootd mailing list
> > seems to have not caught anyone's attention.
> >
> > 	Thanks,
> >
> > 		Andreas
> >
> > ----------  Forwarded Message  ----------
> >
> > Subject: How to determine the access mode for a path
> > Date: Tuesday 02 May 2006 16:01
> > From: Andreas Petzold <[log in to unmask]>
> > To: [log in to unmask]
> >
> > 	Hi,
> >
> > we are looking for a possibility to determine the access mode of a
> > path/file on an xrootd server with XrdClientAdmin/XrdClient. Since the
> > kXR_chmod request can set the user/group/others privileges we thought
> > that there might be a way to get them from the server.
> >
> > 	Cheers,
> >
> > 		Jan Erik,
> > 		Andreas
> >
> > -------------------------------------------------------