Bug 266973

Summary: KDirWatch filters out /dev entries
Product: [Frameworks and Libraries] kdelibs Reporter: Jaroslav Reznik <jreznik>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: faure
Priority: NOR    
Version: 4.6   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaroslav Reznik 2011-02-23 14:49:55 UTC
Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

KDirWatchPrivate::addEntry filters out any paths inside /dev directory. Systemd uses /dev/.systemd/ask-password as communication protocol with outside world and thus systemd kde auth agent.

Are there any reasons to not allow watch on /dev? Hot ground we should not step into? 

Reproducible: Always




Systemd protocol http://www.freedesktop.org/wiki/Software/systemd/PasswordAgent
Comment 1 Lukáš Tinkl 2011-02-23 18:24:32 UTC
Git commit 97d915da924dcae84751be79dfc862ff0f61704d by Lukas Tinkl.
Committed on 23/02/2011 at 18:21.
Pushed by lukas into branch 'KDE/4.6'.

Do not filter out /dev/. directories

They are used for system daemons these days, like systemd
(http://www.freedesktop.org/wiki/Software/systemd)

BUG: 266973

M  +1    -1    kdecore/io/kdirwatch.cpp     

http://commits.kde.org/kdelibs/97d915da924dcae84751be79dfc862ff0f61704d
Comment 2 Lukáš Tinkl 2011-02-23 18:25:02 UTC
Git commit e8f1ed95744f6556793a48cc5e1ef943a90d2f7e by Lukas Tinkl.
Committed on 23/02/2011 at 18:21.
Pushed by lukas into branch 'master'.

Do not filter out /dev/. directories

They are used for system daemons these days, like systemd
(http://www.freedesktop.org/wiki/Software/systemd)

BUG: 266973

M  +1    -1    kdecore/io/kdirwatch.cpp     

http://commits.kde.org/kdelibs/e8f1ed95744f6556793a48cc5e1ef943a90d2f7e