How to have the correct permission when Building Private Versions of GlueX Software on ifarm/alma9?

5 views
Skip to first unread message

igal jaegle.

unread,
May 30, 2024, 10:28:27 AM5/30/24
to GlueX Software Help
Hi,


By default when Building Private Versions of GlueX Software on ifarm/os7, all permissions are set properly meaning any user can use this private build.

By default on ifarm/alma9 all permissions are set to r or xr for the build owner only.


tks ig.

Sean Dobbs

unread,
May 30, 2024, 10:31:43 AM5/30/24
to igal jaegle., GlueX Software Help
Probably you can just use the umask command:

https://man7.org/linux/man-pages/man2/umask.2.html

Is setting the group permissions required for batch jobs, or something
like that?

---Sean
> --
> You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gluex-software/CAN1Mye501AN7uSx3XJ6DvXaYCwGusD_oO%3Dia%2BjhzCq5yaxNmXA%40mail.gmail.com.

Benedikt Zihlmann

unread,
May 30, 2024, 10:39:43 AM5/30/24
to gluex-s...@googlegroups.com
Hi all,
fwiw. I noticed the same issue, but it has nothing to do with our sofware package, it has to do with the default
behavior of AMLA9 as compared to CentOS7. By default files are created with access mode 700 on alma9 machines
while on centos machines they are created by default as 755 or 744 depending on what type of files it is.
I guess you can overwrite that default behavior in your login configuration file. I think the command is "setfcal"



On 5/30/24 10:31, Sean Dobbs wrote:
Probably you can just use the umask command:

Hi,

Using:https://halldweb.jlab.org/wiki/index.php/Building_Private_Versions_of_GlueX_Software:_my_halld_build_jlab

By default when Building Private Versions of GlueX Software on ifarm/os7, all permissions are set properly meaning any user can use this private build.

By default on ifarm/alma9 all permissions are set to r or xr for the build owner only.


tks ig.

--
You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com

igal jaegle.

unread,
May 30, 2024, 1:25:46 PM5/30/24
to Benedikt Zihlmann, gluex-s...@googlegroups.com
Thank you, Sean & Beni, for your inputs.

Adding, umask 0022 in your login shell is solving the problem.

tks ig.

Reply all
Reply to author
Forward
0 new messages