Bug 495910

Summary: all further tabs open in / if first tab has sudo command running
Product: [Fedora] Fedora Reporter: Maxim Burgerhout <maxim>
Component: gnome-terminalAssignee: Behdad Esfahbod <behdad>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: behdad, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-27 21:05:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maxim Burgerhout 2009-04-15 14:37:56 UTC
Description of problem:
If a program is running with sudo in the first and only tab of gnome terminal, all further shells (in second tab and up) are spawned with / as the working directory.

Version-Release number of selected component (if applicable):
2.26.1-1.f11

How reproducible:
Always

Steps to Reproduce:
1. open gnome-terminal
2. run program in gnome-terminal's first tab with sudo (say 'sudo visudo')
3. open second tab while 'sudo visudo' is still running
4. see that shells in tabs after the first one open in / instead of in the working directory of the first tab
  
Actual results:
shells in second and further tabs open with / as the working directory

Expected results:
second and further to spawn shells in working directory of the ordinary user in the first shell

Additional info:

Comment 1 Will Woods 2009-05-27 21:05:43 UTC

*** This bug has been marked as a duplicate of bug 496947 ***