I have a Linux server and I\'m running an image resize job in Java for multiple websites on my server. The website files are owned by different OS users/groups. Newly create
Take a look at the package java.nio.file.attributes and classPosixFilePermissions. This is where you can manipulate group permissions.
java.nio.file.attributes
PosixFilePermissions