@mmethe Not sure what’s wrong but you might try setting the ownership: chown fog:root /images/dev/postinitscripts/fog.postinit (note: the user fog exists in older versions only. After the update to 1.5.9 it will be called fogproject)
@mmethe Image size on the server is determined with FTP.
If you’re referring to image size on the client, this is updated each time you capture or deploy an image and is merely an informational piece in the DB that will not affect deployment.