Change 31018

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 31019
View Review
Download .zip
Renamed unreleased new script, check_dir_perms.sh -> check_dir_ownership.sh.
Fixed exit code in this new script.

Modified p4d_base to call this script as a preflight check when starting p4d
(regular start only, not force_start).  It will refuse to start p4d if there
are any files in P4ROOT owned by a user other than the defined OSUSER. This
should be helpful in finding things like a root-owned state.xu file.

Fixes SDP-1119.

#review-31019
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
p4d_base#45
Loading...
verify_sdp.sh#60
Loading...
Tip: Use n and p to cycle through the changes.