| Subcribe via RSS

Recursive chmod for files or directories only

September 9th, 2008 Posted in System Administration


To do a recursive chmod to directories only you can run:

find . -type d -exec chmod 755 {} \;

And for files only:

find . -type f -exec chmod 644 {} \;

Tags:

6 Responses to “Recursive chmod for files or directories only”

  1. ridu Says:

    wow.. new tutorial.. thanx


  2. Gelandangan Says:

    wahhh ngomong2 apa tuh mas
    *maap oon nih


  3. Markus Says:

    ini command di linux untuk ubah permission direktori atau file


  4. sigid Says:

    alasan 775 dan 644 paan mas, :D maklum newbie
    ga gitu paham, ;)


  5. rizoa Says:

    wah..lum ngerti linux


  6. Says:

    [...] - Recursive chmod for files or directories only saved by iunfu2008-10-09 - Sonic Unconscious saved by Yogijan2008-10-09 - Change recursive CVS [...]


Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word