Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grant plan users read access to the ROBOCORP_HOME base directory #669

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jherbel
Copy link
Contributor

@jherbel jherbel commented Jan 10, 2025

As of now, only admin users have access to the ROBOCORP_HOME base directory on Windows systems, which is what we want. Furthermore, plan users are granted full access to their user-specific ROBOCORP_HOME directory (which is located inside the base directory). This setup is as desired. However, it turned out that this prevents non-admin plan users from building RCC environments. For some reason, read access to the ROBOCORP_HOME base directory is required. Without it, micromamba crashes:

info     libmamba ****************** Backtrace Start ******************
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
trace    libmamba Compute configurable 'envs_dirs'
critical libmamba weakly_canonical: Access is denied.: "C:\rmk\rcc_home\vagrant2\envs"
info     libmamba ****************** Backtrace End ********************

As of now, only admin users have access to the ROBOCORP_HOME base directory on
Windows systems, which is what we want. Furthermore, plan users are granted full
access to their user-specific ROBOCORP_HOME directory (which is located inside
the base directory). This setup is as desired. However, it turned out that this
prevents non-admin plan users from building RCC environments. For some reason,
read access to the ROBOCORP_HOME base directory is required. Without it,
micromamba crashes:
```
info     libmamba ****************** Backtrace Start ******************
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
trace    libmamba Compute configurable 'envs_dirs'
critical libmamba weakly_canonical: Access is denied.: "C:\rmk\rcc_home\vagrant2\envs"
info     libmamba ****************** Backtrace End ********************
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant