centos 7 and umask [Solved]

Issues related to applications and software problems
Post Reply
nikohal
Posts: 5
Joined: 2014/11/06 16:09:36

centos 7 and umask [Solved]

Post by nikohal » 2014/11/06 16:15:32

Hi,
I use CentOS 7 and I have one problem. I can't find where to setup umask (in old system it was echo "umask 002" >> /etc/sysconfig/httpd). But in CentOS 7 I can't find that. Where I can find that or what I need to install my system?

Problem is because i try install multicraft and I get error: Fatal error: Uncaught exception 'CException' with message 'Application runtime path "/var/www/html/multicraft/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.' in /var/www/html/multicraft/protected/yii/base/CApplication.php:271 Stack trace: #0 /var/www/html/multicraft/protected/yii/base/CApplication.php(258): CApplication->setRuntimePath('/var/www/html/m...') #1 /var/www/html/multicraft/protected/yii/base/CStatePersister.php(67): CApplication->getRuntimePath() #2 /var/www/html/multicraft/protected/yii/base/CModule.php(388): CStatePersister->init() #3 /var/www/html/multicraft/protected/yii/base/CApplication.php(458): CModule->getComponent('statePersister') #4 /var/www/html/multicraft/protected/yii/base/CApplication.php(651): CApplication->getStatePersister() #5 /var/www/html/multicraft/protected/yii/base/CApplication.php(592): CApplication->loadGlobalState() #6 /var/www/html/multicraft/protected/yii/base/CSecurityManager.php(101): CApplication->getGlobalState('Yii.CSec in /var/www/html/multicraft/protected/yii/base/CApplication.php on line 271

I make that folder writable, but that no help.

One page I found this instructions: http://www.yiiframework.com/forum/index ... rmissions/
Regards, Niko
Last edited by nikohal on 2014/11/07 13:18:26, edited 1 time in total.

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: centos 7 and umask

Post by avij » 2014/11/06 18:19:45

I'd guess your problem is SELinux related. Check your audit logs.

nikohal
Posts: 5
Joined: 2014/11/06 16:09:36

Re: centos 7 and umask

Post by nikohal » 2014/11/07 13:18:12

Yes, tahts works. Thank You.

Regards, Niko H.

Post Reply

Return to “CentOS 7 - Software Support”