FolderWatcher: Remove IN_DONT_FOLLOW #3475
This fixes the case of the root folder being symlinked.
Esse commit está contido em:
@@ -79,8 +79,7 @@ void FolderWatcherPrivate::inotifyRegisterPath(const QString& path)
|
||||
int wd = inotify_add_watch(_fd, path.toUtf8().constData(),
|
||||
IN_CLOSE_WRITE | IN_ATTRIB | IN_MOVE |
|
||||
IN_CREATE |IN_DELETE | IN_DELETE_SELF |
|
||||
IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR |
|
||||
IN_DONT_FOLLOW );
|
||||
IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR);
|
||||
if( wd > -1 ) {
|
||||
_watches.insert(wd, path);
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário