-
Notifications
You must be signed in to change notification settings - Fork 13
Add chown
command
#49
Comments
Due to the research I have found - there isn't any specific ways to do this within the Golang stdlib. Because it wasn't able to be cross platform it never got included and keeps getting pushed back. May just go down to unix chown to do it for now. |
You can always chown by UID, GID, but I want to do it by name. Looks like this might be a clue on how to do it: https://github.com/lomik/go-carbon/blob/e0c1eb3205ffe1b0cb39e830d88001e62b2c650e/logging/logger.go Will give it a shot. |
…iles to those users. If nothing is passed, it will write the file as the user.Current(). Closes #49.
Turns out there's some sort of error here:
Looking into it tomorrow. |
It works just as expected in Vagrant:
The command
|
Testing again on staging. It works fine. I may have uploaded the wrong binary for testing. |
So that files can land with different owners / groups.
The text was updated successfully, but these errors were encountered: