well
slax1.jpeg has no public read rights.
-rwxrwx--- should be -rwxrwxr-- but buch better -rw-r--r--
as far as i can see
shell.php:
-rwxrwxr-x should be 644 or -rw-r--r--
no php script should be set like this as far as i know. at least when it comes to joomla.
when it comes to joomla:
all files should be 644 or -rw-r--r--
all folders should be 755 or (d)rwxr-xr-x
also almost all folders and files should be owned by www-data:www-data (user:group) so only apache can access those files. only some folders in images folder should be own by web1_ftp:web1 so images can be uploaded by ftp user.
to correct ownership of files type in console (SSH):
cd /var/www/web1
chown -R -v -f www-data:www-data/*
to set ownership of files and folders in images folder:
cd /var/www/web1/images
chown -R -v -f web1_ftp-web1:web1_ftp-web1/*
this should be done from root account in SSH. in case of Ubuntu you should add "sudo" in front of every command line. for example:
sudo cd /var/www/web1/images
sudo chown -R -v -f web1_ftp-web1:web1_ftp-web1/*
to change all folders to 755 (also as root user):
cd /var/www/web1
find * -type d | while read var1; do chmod 755 "$var1"; done
to change all files to 644 (also as root user):
cd /var/www/web1
find * -type f | while read var1; do chmod 644 "$var1"; done
if i typed it correctly
Recent comments
20 hours 45 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 17 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 11 hours ago