|Posted: Fri, 2003-03-21 04:59|
I'm currently running a reseller account on shared server space, and have several copies of gallery running on different domains/accounts.
I've noticed albums and pictures uploaded belong to the 'nobody' account, and thus does not count towards the users diskspace usage. (1 user has 400Mb worth of pictures in his gallery right now!). Small issue, except I'm worried they'll pull the plug on my account. =(
It's really been a problem, however when I had to restore one users entire account from a tar backup. Now the entire albums belong to the user instead of nobody. To allow gallery manipulate those restored images, I had to grant them 666 permissions to all the files. Being shared server space, the possibility of *another* user coming along and deleting and/or defacing the images in the gallery does become a real possibility.
I was wondering is there any way I could set gallery up so that it'll create files/albums as part of the parent account, pretty much in the same way how 'config.php' is written/updated where it belongs to the "correct" owner, with 644 permissions.