Hello Yannick,
ok I'll do that for now.
thanks
cheers
alessandra
Yannick Patois wrote:
> Hi,
>
> Alessandra Forti a écrit :
>> StartXDR requires a binary called "access".
>> can anybody enlighten me on what it is?
>
> Seems that it just return if a file exists or not.
>
> I couldnt found anything close to that anywhere and created this:
>
> $ cat /usr/local/bin/access
> #!/bin/bash
>
> dir=$2
>
> touch $dir/toto
> out=$?
> rm $dir/toto
> exit $out
>
> Pretty primitive, but will likely works for what we use it for.
>
> Yannick
--
*******************************************
* Dr Alessandra Forti *
* Technical Coordinator - NorthGrid Tier2 *
* http://www.hep.man.ac.uk/u/aforti *
*******************************************
|