[Development] [QLockFile] Whether it is reasonable to use 0644 permission ?

Kevin Kofler kevin.kofler at chello.at
Wed Jul 27 22:15:45 CEST 2016


Thiago Macieira wrote:
> If you don't have permission to delete it, then you're going to have a
> problem to drop your own lock if you steal the lock by writing to the
> file.

So this means that the permission should be 0644 to prevent that from 
happening. Thus, I don't understand how you get to:

> Either way, the mode in the call should be 0666.

        Kevin Kofler





More information about the Development mailing list