Change 29691

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/setup under Review 29692
View Review
Download .zip
Added logic to avoid applying the 'setcap' (the OOM Killer defense)
in Docker environments (e.g. for testing).

Similar to @296666, but that changeg was for upgrade.sh, and this is
for mkdirs.sh.

Info: Using the 'setcap' command on a binary in a Docker container renders
the binary inoperable.  Attempts to execute the binary result in
an 'Operation not permitted' error. The workaround: Don't use 'setcap' on
binaries in a Docker container.

#review-29692
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
mkdirs.sh#106
Loading...
Tip: Use n and p to cycle through the changes.