Ok well I have created a script that handles uploads of screenshots of games. Before the user gets to upload, they select the game, which also has it's own game id. After they select the file, during the upload, a new folder is created with the name of the game id, if it doesn't exist already with the permissions of 0777. And after that is created, the file is placed into that folder.
This all works but say I go into my FTP program and want to delete some screenshot folders, I cannot do it because it says the folder owner is 99 and not 'stk', which is the root owner.