Home > linux > Membetulkan file permission

Membetulkan file permission

January 5th, 2010

Kalo anda pernah engga sengaja melakukan perubahan yang salah ke file permission linux apalagi filenya banyak, ngebalikin file permission nya satu2 itu bener cape.

Lagipula Directory dan File itu file permissionnya beda.

Ini script nya

Untuk direktori

find [your path here] -type d -exec chmod 755 {} \;

Untuk file

find [your path here] -type f -exec chmod 644 {} \;
  • Share/Bookmark

rickyok linux

  1. No comments yet.
  1. No trackbacks yet.

Switch to our mobile site