Hi all,

I have just started tinkering with Easybuild in an old system and I am facing a (probably) silly problem.

I have created a "manager" user (to not to run eb as root) and I am installing both the software and modules in an NFS shared directory. Both the software and modules seem to be properly installed, but, their permissions don't allow "other" users to access.

They are as follows (all with user: manager, group: manager):

software:
binaries: 755
libraries: 644
directories to bin/lib: 770 or 750

modules:
module file: 660
path: 770

So the binaries themselves allow users to execute them, but their paths and the modules forbid them.

Is Easybuild supposed to set these permissions during installation, or "others" users must be given permissions manually after installation? Should it be handled by defining a "common group" where all users (+ manager) belong to?


I have also tried editting the file easybuild/lib/python2.7/site-packages/easybuild_framework-1.10.0-py2.7.egg/easybuild/framework/easyblock.py, editting the line 1465 to set permissions from 750 to 755:

adjust_permissions(self.installdir, 0755, recursive=True, group_id=gid, relative=False,ignore_errors=True)

It did not work, but I am a bit of a newbie in python and I am not confident that my python/eb call is reading that modified file.



Just for the record, these are my paths and config:

user: manager
group: manager
python version: 2.7.6

eb installation path: /aplic/BASE/easybuild-1.10.0
(there is also an "/aplic/BASE/easybuild" (no version) softlink pointing there).

module naming scheme path: /aplic/BASE/easybuild/tools/module_naming_scheme/

PYTHONPATH /aplic/BASE/:/aplic/BASE/easybuild-1.10.0/lib/python2.7/site-packages
(the /aplic/BASE one is to access easybuild/tools/module_naming_scheme/)

EASYBUILD_SOURCEPATH            /aplic/BASE/easybuild-1.10.0/sources
EASYBUILD_BUILDPATH             /aplic/BASE/easybuild-1.10.0/build
EASYBUILD_REPOSITORYPATH /aplic/BASE/easybuild-1.10.0/ebfiles_repo
EASYBUILD_MODULES_TOOL          Lmod
EASYBUILD_MODULE_NAMING_SCHEME  NotoolchainModuleNamingScheme

EASYBUILD_INSTALLPATH           /aplic/
EASYBUILD_SUBDIR_SOFTWARE       GOOLF-1.4.10
(software is installed in /aplic/GOOLF-1.4.10 , this is just to install there soft compiled using that toolchain. I'll change it for other toolchains)

EASYBUILD_SUBDIR_MODULES        BASE/modulefiles/GOOLF-1.4.10
(modules are placed in /aplic/BASE/modulefiles/GOOLF-1.4.10 other toolchains will end up in another place)



Should I add anything else to my PYTHONPATH to read the modified permissions python file?

Thanks in advance,

Txema

Reply via email to