Ramnarayan
Programmer
Hi,
I need to change the permissions of all the files and folders in a directory recursively. Particularly I don't want to use !system("chmod"
$batch = "003"
chmod (0777, '$batch');
Also, I am not able to figure how I can change the permissions of files and directories recursively and separetely.
All files in one directory has to have a permission of 644 and directories to have 755. Can some one help me out with a script so that I can know better.
Thanks a lot once again
I need to change the permissions of all the files and folders in a directory recursively. Particularly I don't want to use !system("chmod"
$batch = "003"
chmod (0777, '$batch');
Also, I am not able to figure how I can change the permissions of files and directories recursively and separetely.
All files in one directory has to have a permission of 644 and directories to have 755. Can some one help me out with a script so that I can know better.
Thanks a lot once again