You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
546 B

  1. --- a/usr/bin/byobu-janitor.in
  2. +++ b/usr/bin/byobu-janitor.in
  3. @@ -41,7 +41,7 @@ DEFAULT_PROFILE="light"
  4. PROFILE="$BYOBU_CONFIG_DIR/profile"
  5. # Create byobu-exchange buffer file, with secure permissions, if it doesn't exist
  6. -[ -e "$BYOBU_RUN_DIR/printscreen" ] || install -m 600 /dev/null "$BYOBU_RUN_DIR/printscreen"
  7. +[ -e "$BYOBU_RUN_DIR/printscreen" ] || { cp /dev/null "$BYOBU_RUN_DIR/printscreen"; chmod 600 "$BYOBU_RUN_DIR/printscreen"; }
  8. # Affects: users who launched using sudo, such that their config dir
  9. # is not writable by them