File/folder permissions

File/folder permissions

by Jeff Wood -
Number of replies: 2

Just did a new install of moodle (newest 1.4.3) and have successfully unzipped in on my server... but all the file and folder permissions are wrong - files all 600 and folders 700... nothing seems to be working and it is taking me forever to reset permissions (files 666 and folder 755) and ideas?

Tnx

Jeff

Average of ratings: -
In reply to Jeff Wood

Re: File/folder permissions

by Herbert Keijers -
Hi Jeff,
I have no clue why your files and folders get 600 and 700 (should be 644 and 755) but I can give you a time less consuming way of changing permissions :
Try : Being in the directory you want to change, see--> ./
[yourbox] $ find ./ -type d -exec chmod 755 {} \;

This makes all the dirs (under your current dir) permission 755

[yourbox] $ find ./ -type f -exec chmod 644 {} \;

which take cares of the files (under your current dir)

Just did a CVS on 1.4.2+ to get 1.4.3 (testing machine)
Went smootly ... as usual ...
In reply to Herbert Keijers

Re: File/folder permissions

by Jeff Wood -

Hi Herbert,

Tnx for feedback.

This has happened once before and I had the hosting company do the changes for me.

Worked like a charm! cool

Jeff