1
Is there a way to recursively change the access rights of a specific folder to 755 and files to 644 Without using the find function and having sub-directories in that folder (don't want to change those) ?
Currently I'm using chmod 755 -r folderName/
using find
I think its something like that :
find /specific_folder/ -type f -print | xargs chmod 644
will that only work on files ? what about sub-directories .. i dont want to change their permissions – Tarek – 2011-06-29T11:30:33.227
yes, it does work for sub-directories as well. – None – 2011-06-29T11:32:42.160
just tried that and it doesn't work – Tarek – 2011-06-29T11:43:24.820
You mean doesn't work at all or what? – None – 2011-06-29T11:45:20.450
yes it doesn't work at all – Tarek – 2011-06-29T11:52:23.437
@Tarek let us continue this discussion in chat
– None – 2011-06-29T11:54:11.877