The scripts in /etc/profile.d are normally sourced, thus don't need
execute permission. Under normal circumstances, the a1* scripts will
just be 'transparent' anyway.
What's the problem? No environment at all?
Oliver.
Oliver Keeble Information Technology Department
[log in to unmask] CERN
+41 22 76 72360 CH-1211 Geneva 23
pierre girard wrote:
> Hi everybody,
>
> I've got some troubles with the environment setting on my WNs. So, I
> took a look in /etc/profile.d/ on a WN, and then noticed that all the
> scripts are in x mode except the script "a1_grid_env".
>
>> {ccwalm53}~/Workspace(0)>ls -al /etc/profile.d/
>> total 53
>> drwxr-xr-x 2 root root 1024 May 13 11:41 .
>> drwxr-xr-x 57 root root 5120 May 23 15:31 ..
>> -rw-r--r-- 1 root root 1102 Mar 27 04:05 a1_grid_env.csh
>> -rw-r--r-- 1 root root 1063 Mar 27 01:44 a1_grid_env.sh
>> -rwxr-xr-x 1 root root 724 Oct 26 2003 colorls.csh
>> -rwxr-xr-x 1 root root 719 Oct 26 2003 colorls.sh
>> -rwxr-xr-x 1 root root 2606 Mar 27 03:47 edg.csh
>> -rwxr-xr-x 1 root root 2717 Mar 27 03:47 edg.sh
>> -rwxr-xr-x 1 root root 192 Oct 26 2003 glib2.csh
>> -rwxr-xr-x 1 root root 190 Oct 26 2003 glib2.sh
>> -rwxr-xr-x 1 root root 844 Mar 27 00:40 globus.csh
>> -rwxr-xr-x 1 root root 623 Mar 27 00:41 globus.sh
>> -rwxr-xr-x 1 root root 252 May 12 2004 gpt.csh
>> -rwxr-xr-x 1 root root 159 May 12 2004 gpt.sh
>> -rwxr-xr-x 1 root root 218 Sep 19 2004 krb5.csh
>> -rwxr-xr-x 1 root root 210 Sep 19 2004 krb5.sh
>> -rwxr-xr-x 1 root root 2566 Sep 2 2004 lang.csh
>> -rwxr-xr-x 1 root root 2595 Sep 2 2004 lang.sh
>> -rwxr-xr-x 1 root root 2731 Mar 27 03:44 lcg.csh
>> -rwxr-xr-x 1 root root 2919 Mar 27 03:44 lcg.sh
>> -rwxr-xr-x 1 root root 1310 May 23 15:31 lcgenv.csh
>> -rwxr-xr-x 1 root root 1316 May 23 15:31 lcgenv.sh
>> -rwxr-xr-x 1 root root 472 Oct 26 2003 less.csh
>> -rwxr-xr-x 1 root root 435 Oct 26 2003 less.sh
>> -rwxr-xr-x 1 root root 170 Oct 26 2003 which-2.sh
>> -rwxr-xr-x 1 root root 1619 Mar 27 03:47 z_edg-profile.csh
>> -rwxr-xr-x 1 root root 1598 Mar 27 03:47 z_edg-profile.sh
>> -rwxr-xr-x 1 root root 1749 Mar 27 03:44 z_lcg-profile.csh
>> -rwxr-xr-x 1 root root 1744 Mar 27 03:44 z_lcg-profile.sh
>
>
> Is it normal ? What are the scripts to initially execute to obtain the
> required LCG environment for a job ?
>
> Thanks in advance,
>
> Pierre
>
|