Re: gnome-terminal in F20 defaults to / for the initial directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@monster ~]$ ls -al /proc/3394/cwd
lrwxrwxrwx. 1 mrsam mrsam 0 Dec 27 21:46 /proc/3394/cwd -> /

Attachment: pgp3byR0JS3vz.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux