permissions to chmod 000

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

permissions to chmod 000

Post by consigliere » Wed Jan 10, 2007 8:16 pm

I don't know why but my folders permissions changes to chmod 000, this happens suddenly, like a terror film.

I changed to joomla 1.0.12, and still having the same problem.

these are my details:
joomla 1.0.12
php: 4.3.11
apache: 1.3.33
MySQL: 4.1.21-standard

Do you guys know any possible reason?

maybe the file creation perms in the server tab conf?

thanks in advance

User avatar
nathandiehl
Joomla! Champion
Joomla! Champion
Posts: 6044
Joined: Fri Aug 19, 2005 3:03 pm
Location: Indiana, USA
Contact:

Re: permissions to chmod 000

Post by nathandiehl » Wed Jan 10, 2007 8:37 pm

you mean it happened once, or it happens repeatedly?

do you have your configuration.php file locked down so it can't be accessed?
If you're new to Joomla, Please read Anna's Joomla! Tips: http://forum.joomla.org/viewtopic.php?t=5503

http://nathandiehl.com | Find out what makes me tick

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: permissions to chmod 000

Post by consigliere » Wed Jan 10, 2007 8:46 pm

nathandiehl wrote: you mean it happened once, or it happens repeatedly?

do you have your configuration.php file locked down so it can't be accessed?
yes this has happened repeatedly, this time the "components" folder, I was a mess.

No, I don't have the configuration.php file locked down. What are the file perms to do it?

thanks
Last edited by consigliere on Wed Jan 10, 2007 9:09 pm, edited 1 time in total.

User avatar
Wizzie
Joomla! Hero
Joomla! Hero
Posts: 2701
Joined: Tue Sep 06, 2005 4:37 am
Location: Australia
Contact:

Re: permissions to chmod 000

Post by Wizzie » Wed Jan 10, 2007 10:04 pm

The standard, default permissions that get assigned to files and directories by the server are normally:

  Files = 644
  Directories = 755

However, to get a better understanding of file permissions are explained you maybe want to read PLEASE READ ME: File Ownership issues http://forum.joomla.org/index.php/topic,121470.0.html.

You may also want to read through the Joomla Administrator's Security Checklist (rev. 1.3) http://forum.joomla.org/index.php/topic,81058.0.html

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: permissions to chmod 000

Post by consigliere » Wed Jan 10, 2007 11:40 pm

It happened again, now in the root folder, I have installed joomla on a subfolder, now the subfolder became chmod 000 and I can't see anything on my site. I got:

Code: Select all

Forbidden
You don't have permission to access /new/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
I did not do anything.

???

User avatar
RussW
Joomla! Exemplar
Joomla! Exemplar
Posts: 9347
Joined: Sun Oct 22, 2006 4:42 am
Location: Sunshine Coast, Queensland, Australia
Contact:

Re: permissions to chmod 000

Post by RussW » Thu Jan 11, 2007 4:56 am

Firstly;

Double check that your configuration.php does not have directory permissions setup for '000' allowing Joomla! to set strange permissions.

Secondly;

Check with you host to see if they have made any changes to suExec or suPHPexec or mod-security or something similar or have no just implemented a new script that checks for insecure permissions or something. i know of many security based scripts that modify "questionable" files and directories to '000' to protect the server. Also, check the servers 'umask' the default is 022, if it has been set to '077' this will give you permissions of '000'

Thirdly;
Does this seem to happen at around the same time each day or other day or at a specific time of day?
Check your crontab for strange entries running a script that you didn't put there. Check for and hidden files (starting with a "."  or ". "  (dot space) etc.... 

Review your site for changed/modified content.

Check out rlickey's posts;
  Joomla! Administrators Security Checklist
    http://forum.joomla.org/index.php/topic,81058.0.html

  Security FAQ Table of Contents
    http://forum.joomla.org/index.php/topic,102558.0.html
Last edited by RussW on Thu Jan 11, 2007 5:01 am, edited 1 time in total.
Joomla! on the fabulous Sunshine Coast...
hotmango, web & print http://www.hotmango.me/
The Styleguyz https://www.thestyleguyz.com/

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: permissions to chmod 000

Post by consigliere » Thu Jan 11, 2007 5:28 pm

RussW wrote: Firstly;

Double check that your configuration.php does not have directory permissions setup for '000' allowing Joomla! to set strange permissions.

Secondly;

Check with you host to see if they have made any changes to suExec or suPHPexec or mod-security or something similar or have no just implemented a new script that checks for insecure permissions or something. i know of many security based scripts that modify "questionable" files and directories to '000' to protect the server. Also, check the servers 'umask' the default is 022, if it has been set to '077' this will give you permissions of '000'

Thirdly;
Does this seem to happen at around the same time each day or other day or at a specific time of day?
Check your crontab for strange entries running a script that you didn't put there. Check for and hidden files (starting with a "."  or ". "  (dot space) etc.... 

Review your site for changed/modified content.

Check out rlickey's posts;
  Joomla! Administrators Security Checklist
    http://forum.joomla.org/index.php/topic,81058.0.html

  Security FAQ Table of Contents
    http://forum.joomla.org/index.php/topic,102558.0.html
the configuration.php had 707 before the installation folder became 000, right now  I can't access anything, the root folder where joomla is installed has 000.

this happend once in a while, it doesn't has a schedule or a exactly period of time. What is weird is that this happenend one time with a folder outside joomla system.

I have installed joomla in a subfolder on my site (/new), yesterday the "components" became chmod 000 like a ghost tale, the admin hosting sorted out the file perms, but after a while the root folder (/new) became chmod in the same manner, itself. Now the admin changed the file perms and I discovered another file with the same problem, now is a file from a component, a mosets directory componenet file.

do you thing that joomla is making this?
Last edited by consigliere on Thu Jan 11, 2007 6:26 pm, edited 1 time in total.

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: permissions to chmod 000

Post by consigliere » Thu Jan 11, 2007 8:30 pm

Like britney says, ups they did it again. I put my site offline and it happened again, the same folders became chmod 000 itself.

what dou you think?

By the way, I use smartftp client, do you think that this can affect?

thanks again
Last edited by consigliere on Thu Jan 11, 2007 8:33 pm, edited 1 time in total.

stevek2
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Oct 25, 2006 9:28 pm

Re: permissions to chmod 000

Post by stevek2 » Tue Jan 16, 2007 3:27 am

I just had the same problem.

I am not sure if I caused it using the CP master.htaccess or a glitch using mulit-site, or a glitch when I tried to back-up my data and database. I do beleive it occurred when I was trying to back up my data.

However my host was able to fix it in 5 minutes.

FYI - I have ver 1.0.11; php 4.1.21; mysql 4.1.15.

Steve

Kursat
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Thu Nov 09, 2006 5:56 pm

Re: permissions to chmod 000

Post by Kursat » Thu Apr 19, 2007 1:22 am

This is really an abnormal situation i have never seen in my life before,
Is it easy to reach your server with root access, i do not think it is a kind of joomla problem
because joomla gets user rights under apache,
you should change the ownership of chaged files to another user different from root or apache.
than change the access permissions of directories 755 files 644
hope the logic helps

I hope there is no bug/code on operating system which has root permissions to do this mess
Generaldots.com

User avatar
thoman
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Mon Jan 02, 2006 3:07 pm
Location: KayBee
Contact:

Re: permissions to chmod 000

Post by thoman » Wed May 21, 2014 4:51 pm

I got the same problem..

Have to cpanel and change the file permission. Any posibilities of someone hacking the site?
Everyday is a good Day


Locked

Return to “General Questions - 1.0.x”