← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2051995] Re: All commands cause bash: /timer.####: Permission denied

 

Interesting that I have 6.11-0ubuntu1 on Kubuntu 24.04.3 LTS and I just
encountered this problem while setting this VM up for claude code.

`byobu-prompt` and replying `n` fixed it.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to byobu in Ubuntu.
https://bugs.launchpad.net/bugs/2051995

Title:
  All commands cause bash: /timer.####: Permission denied

Status in byobu package in Ubuntu:
  Fix Released

Bug description:
  Since upgrading to noble, I've found that any command I run in the
  terminal will show an error like this:

  bash: /timer.6217: Permission denied

  
  The number changes, and I'm guessing matches the process ID.  I finally narrowed down that it's cause by byobu.

  Running `apt purge byobu` fixes it.

  Specifically it's coming from /usr/share/byobu/profiles/bashrc, these
  are the problematic lines from that file:

  # Requires Bash 4.x
  export PS0='$(printf "%s" ${EPOCHREALTIME/./} >"$BYOBU_RUN_DIR/timer.$$")'

  AFAICT $BYOBU_RUN_DIR isn't initialized which leads to this issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: byobu 6.10-0ubuntu1
  Uname: Linux 6.8.0-rc2-00015-g4df2496d5549 x86_64
  ApportVersion: 2.27.0-0ubuntu6
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  1 16:48:24 2024
  InstallationDate: Installed on 2023-07-07 (209 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: byobu
  UpgradeStatus: Upgraded to noble on 2023-12-20 (43 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/2051995/+subscriptions