With this command I can set all file and folder in "img" to 0775:
chmod 775 -R /var/www/site.com/img/
But would I like change only the file inside the folder img; how can I do? And for change only the folders?
Thanks
With this command I can set all file and folder in "img" to 0775:
chmod 775 -R /var/www/site.com/img/
But would I like change only the file inside the folder img; how can I do? And for change only the folders?
Thanks
ok,
To recursively change dirs or files rights
find /root/path -type d -print0 | xargs -0 chmod 755
find /root/path -type f -print0 | xargs -0 chmod 644