Closed drtobybrown closed 3 years ago
If we fix issue opencadc/skaha#117 I think it may be possible work around this by recursing into directories, executing the vchmod
command on each file/directory found.
This may be the fastest/easiest way of solving this issue for the beta stage. A better solution should be found in the future.
Just wanted to note that you can use regular chmod from within arcade--no need for vchmod.
On Tue, Sep 22, 2020 at 9:34 AM Toby Brown notifications@github.com wrote:
If we fix issue opencadc/skaha#117 https://github.com/opencadc/arcade/issues/117 I think it may be possible work around this by recursing into directories, executing the vchmod command on each file/directory found. https://stackoverflow.com/questions/1333813/recursively-read-folders-and-executes-command-on-each-of-them
This may be the fastest/easiest way of solving this issue for the beta stage. A better solution should be found in the future.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opencadc/arcade/issues/116#issuecomment-696837254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4T4AFP4BTKLBVECCY2OWDSHDGZ3ANCNFSM4RV5ZRYQ .
Tried chmod -R a+rw folder/
and chmod -R 775 folder/
but other users still unable to write to (sub)directories.
Fixed issue opencadc/skaha#117.
With opencadc/skaha#117 fixed, here is the work around
In cavern/ directory
find path_to_dir/ -type d,f -exec vchmod [mode] arc:{} "[group(s)]" \;
This with recurse into directories, executing the vchmod command on each file and directory found
Closing with work-around in place.
It is critical for group data and project sharing that users can change permissions on directories and their subfolders.