Be Creative Innovative And Share Your Knowledge To Others

slide 1

SMK PGRI 1 MEJOBO KUDUS BEKERJA SAMA DENGAN BLC TELKOM KLATEN

slide 2

SMK PGRI 1 MEJOBO KUDUS

slide 3

KELOMPOK PENGGUNA LINUX INDONESIA

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Jumat, 08 April 2016

[TIPS] Recursively chmod directories 755/644

Recursively chmod directories 755/644

Kadang setelah kita selesai membuat kode program untuk aplikasi/website dsb, kita mengalami kesulitan untuk merubah hak akses/chmod satu persatu bahkan puluhan file/folder.
Berikut tips praktis agar kita dapat merubah chmod secara bersamaan hanya dg bbrp perintah saja, pastikan posisi anda pada direktori program yg akan diatur hak aksesnya :

Untuk mengganti hak akses semua folder menjadi 755, ketikkan perintah berikut pada terminal :

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


Untuk mengganti hak akses semua file menjadi 644, ketikkan perintah berikut pada terminal :

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

Perintah kombinasinya :

find .  \( -type d -exec chmod -v 755 '{}' \; \) \
                 -o \( -type f -exec chmod -v 644 '{}' \; \)

Catatan : perintah kombinasi 2 baris di atas langsung dikopi paste bersamaan (2 baris) dan jalankan pada terminal.
Share:

ivansys25.blogspot.com

LUPA JAM DAN TANGGAL ???

ADD MY FACEBOOK

Total Pageviews

About us

Diberdayakan oleh Blogger.

Like This Theme