client->permission is a bit set, and should be unsigned.
Attach a file by drag & drop or click to upload