|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
file vs. directory permissions
(not sure if this is an apache question or not...)
I have a php script that overwrites text files. each file must have read and write permssion. The server I am working with is Apache on FreeBSD. currently the directory containing the text files has permission rwxr-xr-x (755) and one of the text files I use for testing my script is rw-r--rw- (646) is there a way to set server permissions so that all files within a directory have read and write permission rather than manually setting each file to 646? |
|
#2
|
|||
|
|||
|
-R
|
|
#3
|
|||
|
|||
|
Chmod that dir to 757 and files to 646.
Or: Chmod the dir to 755 and chown the files to be owned by nobody with a permission of 644. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > file vs. directory permissions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|