Open dominikborkowski opened 9 years ago
You've set the group variable EASYBUILD_GROUP, which restricts access to only those within that specific group. Typically you would only use that for particular software (like licenced software), not site-wide.
On 13 Aug 2015 04:11, "Dominik L. Borkowski" notifications@github.com<mailto:notifications@github.com> wrote:
Sorry about the fonts. I forgot that github will automagically parse things as markdown
— Reply to this email directly or view it on GitHubhttps://github.com/hpcugent/easybuild-framework/issues/1351#issuecomment-130508209.
Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
@ocaisa is spot on, it's doing what you told it to do ;-)
Aha! Indeed, seems to be doing exactly that. After removing that option, and setting 'EASYBUILD_GROUP_WRITABLE_INSTALLDIR' we get the exact result we needed. Thanks and sorry about the false alarm!
On a side note, perhaps it would be worth making this functionality a bit more clear, with regards to the resulting permissions, so others won't make the same mistake I have.
EasyBuild's built-in help implies group ownership, but the permissions are not obvious:
~> eb --confighelp | grep -B1 '^#group='
# Group to be used for software installations (only verified, not set)
#group=
~> eb --help | grep -A1 'group='
--group=GROUP Group to be used for software installations (only
verified, not set)
The only other place I've been able to find that mentions this option is slightly more descriptive, but it's not something I've stumbled on before:
http://easybuild.readthedocs.org/en/latest/eb_a.html
"group: Name of the user group for which the software should be available (default: None)"
When using EasyBuild to create shared repository of software, we came across a problem with permissions set on the installed software dirs and files. Everything else, including modules, eb files, even downloaded sources matched the permissions set via EasyBuild's options. However, the actual software installs had missing permissions for 'other': they lacked read access, and executable bits (wherever applicable).
What follows is a sample session. You may notice that we start with umask that is restrictive, but we change it to match the one set in EasyBuild's options. Umask 002 is set via /etc/profile.local; however, to rule out that being the culprit, we removed it. The problem persisted.
Using
--group-writable-installdir
results in expected addition of group writeable permission, but it still doesn't match the umask nor give others read/exec permissions: