Cause of QCAD QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied

Written by James McDonald

August 13, 2009

I was experimenting with restricting multi-user linux boxes.

A few days later trying to run QCAD with the above security settings threw this error:

QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied

QCAD froze.

I had to go back to 755 on /home to allow QCAD to show the file chooser dialog (e.g. when you select File ==> export bitmap)

Looks as though the QT app requires world readable to work.

So stopping people listing the /home directory may only be a workable solution on a shell access only box.

1 Comment

  1. Bongladen

    I ran into this exact same issue with Amarok just this morning. I’m guessing the QT class having trouble is trying to walk the directory path entry by entry from root. For the record, 711 on /home and 711 on /home/me resulted in similar problems. I’m thinking this is a bug in QT personally, since as long as you can access the end element of a path, why would you even care what the top-level perms are?


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...