English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

"CHMOD to 770 the assets, cache and log directories."

I'm installing a script with the above statement included in the installation instruction. Can someone please tell me what to do? Thank you

2007-03-29 17:07:04 · 6 answers · asked by smartbiz85 1 in Computers & Internet Programming & Design

6 answers

If you have access to your web server and it is Unix/Linux based, at the command prompt:

chmod 0770 assets cache log

If you don't, and its a PHP script, you can create a page, for example chmod.php and place that file in the same directory as assets, cache, and log directories are (not in those directories), and insert the code below:



$assets = chmod("assets",770);
$cache = chmod("cache",770);
$log = chmod("log",770);

if ($assets && $cache && $log) {
echo "CHMOD Successful!!";
} else {
echo "CHMOD Failed!!";
}

?>

Then point your browser to that page and it should work.

2007-03-29 17:29:16 · answer #1 · answered by bonkers 2 · 0 0

"chmod 777 " essentially sets the owner and group bits to read, write, execute. In order to change the permissions, you'll need to be the owner of the directory or root user. Some operating systems (like Solaris 10) using RBAC may allow for other accounts too.

2007-03-29 17:11:40 · answer #2 · answered by Jim Maryland 7 · 0 0

Type this into a shell:

chmod 770 assets cache log

2007-03-29 17:11:31 · answer #3 · answered by undercoloteal 3 · 0 0

Do you mean to include files and directories under those that you've mentioned? You could do that, too, recursively with the -R option: chmod 770 -R

2007-03-29 21:31:02 · answer #4 · answered by sleepyhead 2 · 1 0

simple. It is exactly what it says. go to the direcory containing those direcories and type "chmod 770 assets" and do the same for the other 2. if you do not have shell access, you can do it in ftp by denying access to the "others" permission on each of those folder

2007-03-29 17:12:24 · answer #5 · answered by michael p 4 · 0 0

i'm undecided i've got self belief this to be a real "Out -of-place of work message . although, as a retired HR Director, I accept as true with anybody right here that this does warrant a reprimand or termination. that is not any longer humorous, if that exchange into the reason. it fairly is vulgar and offensive. i could terminate this individual's employment for unethical agency habit and comments on agency proper emails. just to spotlight some products heavily under the impression of alcohol company whore you already know, like in spite of the undeniable actuality that i'm your extra ideal-looking psychological more desirable, you probable nonetheless pull in three times my annual reimbursement-with bonuses. company Compliance/undertaking Coordinator/useful Alcoholic i'd desire to bypass on and on approximately how incorrect it somewhat is, yet i think of every person who reads this concurs that is purely incorrect on such countless expert and non-expert stages.

2016-12-08 14:15:49 · answer #6 · answered by ? 4 · 0 0

fedest.com, questions and answers