gnome-terminal in F20 defaults to / for the initial directory
Sam Varshavchik
mrsam at courier-mta.com
Sat Dec 28 02:47:56 UTC 2013
Michael Schwendt writes:
> On Fri, 27 Dec 2013 16:35:27 -0500, Sam Varshavchik wrote:
>
> > > Bug report #?
> >
> > 1046980.
>
> Is that with or without SELinux enforcing mode?
> If with SELinux, is it reproducible also with SELinux permissive mode?
> Some programs enter fs root, if something is wrong with /home.
selinux is permissive.
Previously, experimentation showed that gnome-terminal spawns a shell with
the current directory inherited from the parent process, and nautilus now
appears to run with its current directory as /. I'm guessing that in F19
nautilus 3.8 ran with $HOME for its current directory, and F20's nautilus
3.10 runs from /. Just guessing that this is really nautilus's bug. I think
a good argument can be made for nautilus to reset to $HOME after forking off
a child process for a launched application, if it's running from /.
mrsam 3394 1 0 13:05 ? 00:00:07 /usr/bin/nautilus --no-default-window
mrsam 10597 10240 0 21:46 pts/1 00:00:00 grep --color=auto nautilus
[mrsam at monster ~]$ ls -al /proc/3394/cwd
lrwxrwxrwx. 1 mrsam mrsam 0 Dec 27 21:46 /proc/3394/cwd -> /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20131227/6e7487e6/attachment.sig>
More information about the users
mailing list