Napisano: 15 Avg 2013 19:52
Ma kakvi nece opet.
Eo sta sam ja uradio:
Iskljucio sam selinux
[ikac@localhost ~]$ sudo kwrite /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
I posle toga sam restartovao PC i onda sam namerno zvekno 777 na sve fajlove i dirove i nece i nece nerazumem vise koj djavo moze da mu bude.
Eo osle iskljucivanja selinux
[ikac@localhost html]$ ls -l joomla-2.5
total 200
drwxrwxrwx+ 10 ikac ikac 4096 Aug 1 04:01 administrator
drwxrwxrwx+ 2 ikac ikac 4096 Aug 1 04:01 cache
drwxrwxrwx+ 2 ikac ikac 4096 Aug 1 04:01 cli
drwxrwxrwx+ 13 ikac ikac 4096 Aug 15 17:01 components
-rwxrwxrwx. 1 ikac ikac 1806 Aug 15 19:24 configuration.php
-rwxrwxrwx+ 1 ikac ikac 3118 Aug 1 04:01 htaccess.txt
drwxrwxrwx+ 4 ikac ikac 4096 Aug 1 04:01 images
drwxrwxrwx+ 2 ikac ikac 4096 Aug 1 04:01 includes
-rwxrwxrwx+ 1 ikac ikac 1319 Aug 1 04:01 index.php
drwxrwxrwx+ 10 ikac ikac 4096 Aug 1 04:01 installation1
-rwxrwxrwx+ 1 ikac ikac 1752 Aug 1 04:04 joomla.xml
drwxrwxrwx+ 4 ikac ikac 4096 Aug 1 04:01 language
drwxrwxrwx+ 7 ikac ikac 4096 Aug 1 04:01 libraries
-rwxrwxrwx+ 1 ikac ikac 17816 Aug 1 04:01 LICENSE.txt
drwxrwxrwx+ 2 ikac ikac 4096 Aug 1 04:01 logs
drwxrwxrwx+ 15 ikac ikac 4096 Aug 1 04:01 media
drwxrwxrwx+ 26 ikac ikac 4096 Aug 1 04:01 modules
drwxrwxrwx+ 13 ikac ikac 4096 Aug 1 04:01 plugins
-rwxrwxrwx+ 1 ikac ikac 4244 Aug 1 04:01 README.txt
-rwxrwxrwx+ 1 ikac ikac 865 Aug 1 04:01 robots.txt.dist
drwxrwxrwx+ 6 ikac ikac 4096 Aug 1 04:01 templates
drwxrwxrwx+ 2 ikac ikac 4096 Aug 15 18:20 tmp
-rwxrwxrwx+ 1 ikac ikac 1715 Aug 1 04:01 web.config.txt
[ikac@localhost html]$
Dopuna: 15 Avg 2013 21:05
Aa joj vidi bag-a. Ja majmun nisam proverio posle restarta status
Kad sam zvekno getenforce i setstatus imao sam sta da vidim
$ /usr/sbin/getenforce Enforcing
$ /usr/sbin/sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 23
Policy from config file: targeted
Nakon toga sam opet isti postupak uradio sudo kwrite /etc/selinux/config i opet disabled i posle restarta radi. Nerazumem sto nije htelo iz prvog puta.
Ti si car bocke majke mi. Za koj moj su ubacili SELinux
|