OpenRoad + Mod7
Two pioneering organizations, together at last.
OpenRoad is pleased to announce the acquisition of creative agency Mod7.
Read the letter from our PrincipalOpenRoad + Mod7
OpenRoad is pleased to announce the acquisition of creative agency Mod7.
Read the letter from our PrincipalPosted on June 30, 2006 in Technology by Mod7
All you n00b server lords out there (like me):
Learn how to chown that file!
[user@localhost]$ chown theuser thefilemask
I recently came across a problem related to one of our custom CMS builds. For the browser user upload of images, the PHP application wrote an image file to the webserver with the owner set to "apache" (I guess that's because the PHP processes run as instances in the Apache server). So, when I tried to copy the apache-owned images via FTP to my local drive, it would not allow me 'cause I was logged on as the FTP user. That's a problem if you're migrating a site from a dev environment to a live environment on another server half way around the world.
So, rather than muck about with permissions, etc., I simply logged into our server via a shell, and changed the owner of all the images in question to the user account I'm using for FTP access. Done and done. FTP all good. Migration all good.
So far.