Config option to disable setting S_ISGID bit when creating installation directory#14479
Config option to disable setting S_ISGID bit when creating installation directory#14479becker33 merged 3 commits intospack:developfrom
Conversation
…lation directory. Addresses spack#14425
|
I don't know if there is any other file you need to edit when adding a config option: some JSON schema maybe? |
|
There is a JSON schema somewhere, I can probably dig it up if you can't find it. Look for previous PRs that added new config options. But is there any way we can try-except this, or check if we're on AFS instead of relying on manual user intervention? |
|
There doesn't seem to be an easy reliable way of detecting AFS (or, in general, telling what filesystem is for a given path). As for try-except: it's a valid idea, but will make the code less readable because of nested try-except: An alternative solution could be creating a "probe" directory at the start of |
|
Why is Spack setting the
but those permissions are inherited from the parent dir, so if someone wants those semantics then they should be able to get them by setting the SETGID bit on the parent directory. Is there something else going on? |
|
@iarspider -- I'm not a doer on this, just was trying to clear up my confusion about how it was being used. |
|
Ping @becker33 @scheibelp ! |
becker33
left a comment
There was a problem hiding this comment.
One minor request, otherwise LGTM.
|
Bouncing close/open to restart tests |
Addresses #14425