Hello,
That's how it's done. If you want to be able to write to the disk you have to make sure that the uid:gid (user id and group id) parts of the line in that file have permission to write, or else you won't be able to upload. You can always just upload to /home/admin and have a root script do something with it after it's uploaded.
John