How to change the permissions of files in a directory recursively

Nerijus Kriaučiūnas nerkrc at telesoftas.com
Mon Apr 24 18:25:34 UTC 2017


Hi,

Have you tried chown -R /var/www/html/foo/* ?

⁣Sent from BlueMail ​

On 24 Apr 2017, 21:16, at 21:16, Jim <jf_byrnes at comcast.net> wrote:
>How can I leave the permission of a directory at 755 and change the 
>permissions of all of it's files to 766? Everything I have tried and 
>what I have found googling ends up setting the dir and file permissions
>
>the same.
>
>So if I have /var/www/html/foo/  I want foo to remain at 755 and files 
>in foo to change to 766.
>
>Thanks,  Jim
>
>
>
>-- 
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>Modify settings or unsubscribe at:
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170424/0d41b49b/attachment.html>


More information about the ubuntu-users mailing list