If I have a file owned by root in a folder owned by me, I can delete it from command line using “rm -f XXX”. But if I try to delete it using g_file_detele(), it fails. How can I delete it?
g_file_delete gives a permission denied error you can use
admin:// uri scheme to remove it using escalated priviliges.
Ok, I don’t know why, but now it does work…