Posted by Stephen on 02/23/06 04:00
Hi All!
This really is a file permissions problem ... although I'm not sure how
to solve it. Any assistance would be greatly appreciated.
I have a series of load balanced servers. Each of the servers is
arranged exactly the same and handles file uploads from users as
follows:
1) User submits file to www1 server
2) www1 server saves file with permissions showing user "www" is the
owner, dir owner is the group for the file ("sg" in this case).
3) cron script on www1 scp's the file to www2 server.
All of this works great up until the following happens ...
4) User resubmits the file to www2 server
5) www2 attempts to update file located on www2 server with new
version, but cannot modify file (attempting to overwrite a file owned
by sg/sg with a file to be owned by www/sg).
6) User continues to see old image, new image is not replicated
Where am I going wrong here? Any assistance would be appreciated.
Stephen
Navigation:
[Reply to this message]
|