Change file owner group under Linux with java.nio.Files

后端 未结 3 522
我在风中等你
我在风中等你 2020-11-30 08:59

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

3条回答
  •  再見小時候
    2020-11-30 09:32

    Take a look at the package java.nio.file.attributes and classPosixFilePermissions. This is where you can manipulate group permissions.

提交回复
热议问题