[solved]
Nevermind. It was a slightly older version of CMSMS. I deleted all the CMSMS php dirs and php files, and did a new install. I did not create tables or install sample content. Once it was up and running, I reinstalled my modules, and after a few tweaks all was working.
[/solved]
I have a website that I have moved to a new server. This new server uses suPHP (the old one didn't) so I'm going through a bit of a learning curve here.
suPHP, for those who aren't familiar, runs php as a cgi, so PHP is run with the permissions of the user, not apache. Additionally, php will not execute if permissions are too high. I belive 755 on directories and 644 on files is the max.
Anyway, I'm having a problem when uploading images using image manager. If I set umask in Site Admin > Global Settings to 022, uploaded images get the expected 644 permissions. But, generated thumbnails get 640, which means they can't be viewed in the /admin.
To get thumbnails to have 644, I have to set umask to 002, but then uploaded images have 664.
Site Admin > Global Settings has:
File Creation Mask (umask): 022
Config.php has:
$config['default_upload_permission'] = '644';
/opt/suphp/etc/suphp.conf has:
;Umask to set, specify in octal notation
umask=0022
My question is, how do I get uploaded images, and generated thumbs, to have the same permissions (644).
EDIT:
CENTOS Enterprise 4.7, php5, mysql 5.0.51a, apache 1.3.41.
[solved] Permission issues between uploads and thumbnails
Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
[solved] Permission issues between uploads and thumbnails
Last edited by vaughnt on Mon Oct 13, 2008 3:59 pm, edited 1 time in total.
Return to “[locked] Installation, Setup and Upgrade”
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade