Allow Introspection of Linux Usernames for Use as Variables
closed
C
Continuous Squid
The new feature of managed identities is great to allow users to access only the files they are authorized to. The problem now is that all users should use the same work folder, and should be all allowed to access the subfolders. This is a security problem, as this means that everyone can see all the files generated.
I'm therefore wondering if it is possible to get the value of the “Linux username” (introspection), for instance in the computing environment configuration (I would like to use something like
/scratch/${linuxuser}
as the work path).I did some tests: I tried to setup my compute environment like this:
- Work directory: /scratch/seqera-work-${USER}
- Lauch directory: /scratch/seqera-work-${USER}
It creates two folders with the correct username (
/scratch/seqera-work-user1
and /scratch/seqera-work-user1
) which remain empty, and two folders /scratch/seqera-work-${USER}
and /scratch/seqera-work-${USER}
(${USER}
is not interpreted) which are actually used.Rob Newman
closed
Closing as a duplicate of https://feedback.seqera.io/feature-requests/p/support-for-a-distinct-set-of-variables-in-the-config-param-file-launch-dir-work