Skip to content

Commit

Permalink
Merge pull request #8 from bitglue/revert_fchown
Browse files Browse the repository at this point in the history
Revert "Adjust SetupUser to Fchown all open file descriptors so they'…
  • Loading branch information
tianon committed Oct 6, 2015
2 parents 06a88d8 + 614bda9 commit a4b54df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
29 changes: 0 additions & 29 deletions fds.go

This file was deleted.

3 changes: 0 additions & 3 deletions setup-user.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ func SetupUser(u string) error {
if err != nil {
return fmt.Errorf("get supplementary groups %s", err)
}
if err := chownFds(execUser.Uid, execUser.Gid); err != nil {
return fmt.Errorf("fchown fds %s", err)
}
if err := syscall.Setgroups(execUser.Sgids); err != nil {
return fmt.Errorf("setgroups %s", err)
}
Expand Down

0 comments on commit a4b54df

Please sign in to comment.