|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
CHMod command help
I am setting up an Apache server. However the default permissions on the website stored on my Mac HD does not permit viewing via the Apache web server. I know I can use the command "sudo chmod 644 *.htm" to change the file permissions and it works fine. However, I have alot of files and directories.
What command do I use to change the permissions on all the files in all the sub-directories at one time? In regular Linux, I use "sudo chmod -R 644 *.htm", but that does not work in the Terminal Shell in OSX. Can somebody help me out here please? |
|
#2
|
|||
|
|||
|
Quote:
This wouldn't work in linux either unless your folders have got the extension ".htm" too. cd /var/www/folder/ sudo chmod -R 644 . M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Mac Help > CHMod command help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|