Files uploaded by FileManager not visible on FTP
Posted: Sun Jul 29, 2007 7:43 am
Hi!
I cannot access certain files created by cmsms, namely FileManager uploads as well as auto-created thumbnails.
They show up okay on the website on FTP they are invisible.
After checking permissions and ownership I came to the following conclusion:
There are 2 owners and 2 groups in the provider's system
owners: w008**** and wwwrun (which would be for php scripts)
groups: w008**** and nogroup
So there exist directories with the following combination of owner/group:
(1) w008/w008 for FTP uploaded files
(2) wwwrun/w008 for cmsms-generated files like modules, tmp files and so on
(3) wwwrun/nogroup for FileManager uploads and thumbnails
The problem exists with (3).
When I log into the site with an FTP I am user w008 so I have access to (1)
Since user w008 is also in group w008 I have at least read access to (2)
But with an FTP login I have no access to (3) so I have no permissions whatsoever on these files.
So where do you suggest lies the problem? Is it in the way FileManager works or is my provider at fault?
Why does Filemanager create files in group nogroup but ModuleManager correctly creates wwwrun/w008-files?
This whole issue makes complete FTP backups impossible.
Very grateful for help,
Cerno
PS: I can manually reset the ownership and group of everything, but that won't work with automated updates, would it?
I cannot access certain files created by cmsms, namely FileManager uploads as well as auto-created thumbnails.
They show up okay on the website on FTP they are invisible.
After checking permissions and ownership I came to the following conclusion:
There are 2 owners and 2 groups in the provider's system
owners: w008**** and wwwrun (which would be for php scripts)
groups: w008**** and nogroup
So there exist directories with the following combination of owner/group:
(1) w008/w008 for FTP uploaded files
(2) wwwrun/w008 for cmsms-generated files like modules, tmp files and so on
(3) wwwrun/nogroup for FileManager uploads and thumbnails
The problem exists with (3).
When I log into the site with an FTP I am user w008 so I have access to (1)
Since user w008 is also in group w008 I have at least read access to (2)
But with an FTP login I have no access to (3) so I have no permissions whatsoever on these files.
So where do you suggest lies the problem? Is it in the way FileManager works or is my provider at fault?
Why does Filemanager create files in group nogroup but ModuleManager correctly creates wwwrun/w008-files?
This whole issue makes complete FTP backups impossible.
Very grateful for help,
Cerno
PS: I can manually reset the ownership and group of everything, but that won't work with automated updates, would it?