Issue: I'm working on a system where relatively naive users need to set up 'compliant' directory structures to a set format and re-set group ownership (chgrp) of lower level directories so they have write permissions but the directory they need to create in doesn't have write access for their group.
To get around this the script was going to have the SGID set but I've just found out that using SGID on the program is fraught with security issues.
Question: Is there a way (apart from using SGID) to allow users from different group access to a script to create directories in a directory where they do not have write permissions?
To get around this the script was going to have the SGID set but I've just found out that using SGID on the program is fraught with security issues.
Question: Is there a way (apart from using SGID) to allow users from different group access to a script to create directories in a directory where they do not have write permissions?