On 3/31/14, 2:28pm, Bob Hood wrote:
>> Second: can I change permissions of a directory?
>
> Well, under UN*X-based systems, the permission changing should work as you
> expect with setPermissions() (assuming you have sufficient rights).  Under
> Windows, though, it probably won't.  Windows uses a different beast in terms
> of permissions (ACLs and such), so you may need to go with a Windows-specific
> solution in your code.  Look up "AllocateAndInitializeSid", "SetEntriesInAcl",
> and "SetNamedSecurityInfo".
>


Thanks, I was hoping to find a nice Qt/portable solution.

I will rely on Windows-specific code as you suggested.


Thanks!
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to