No announcement yet.

Set future folders owned by a user

  • Filter
  • Time
  • Show
Clear All
new posts

  • Set future folders owned by a user

    Hello everyone, haven't been here for a while. I've been off learning PHP, Java and loads of other stuff.

    I've got a bit of a problem. I host a Minecraft server for somebody, and when plugins are installed, new folders are created. The folders are created theoretically by the root user, and they cannot edit files because they don't have permission.

    So, how can I make any new folders made in a directory, to be owned by another user?
    So, if a folder is made, it is automatically owned by somebody else?

  • #2
    Dont run Minecraft as root, its a security nightmare!

    You should be running Minecraft as your friends user, folders will then be created by that user - owned by that user.