I've been searching for the last hour and cannot seem to find an answer to this problem.
I need to be able to set the owner properties of a file that is being uploaded so that it can be counted towards the file quota.
Basically my setup is as follows:
A user logins in, uploads a file, and this file is saved in a directory out of the public folder. The problem is that the group and the owner IDs are being set to 'nobody'. This means that the files are not being counted towards a users file quota since it is setup (and I cannot change this part) to count quotas based on file owners.
I tried using chgrp and chown but it says I dont have permission to. I cant figure out how to do this.
Any help would be great, thanks!