---
** [tickets:#80] new window fails with sudo**
**Status:** open
**Created:** Tue Nov 19, 2013 08:08 AM UTC by wes
**Last Updated:** Tue Nov 19, 2013 08:08 AM UTC
**Owner:** nobody
If I run a command as root via sudo, then while the command is running I'm
unable to split that window or create a new one (the message is "bad working
directory"). As per my last (non-)bug (issue 79 o.o), I have this in my
tmux.conf:
bind c neww -c '#{pane_current_path}'
Is there a way to get around this? Thanks in advance.
PS: To save you 20 seconds of typing, here's an easy way to reproduce:
$ cat <<EOF > /tmp/test.sh
#!/bin/bash
while true; do
echo "8D"
sleep 3
done
EOF
$ chmod +x /tmp/test.sh
$ sudo /tmp/test.sh
<now try to create a new window with above stuff in tmux.conf...>
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users