File permission

จาก Wiki2

ข้ามไปที่: นำทาง, สืบค้น

Files

600 Makes a file inaccessible

644 Readable by everyone (e.g. HTML documents)

666 File can be read and modified (e.g. for HTML files modified by scripts)

755 File can be read and executed by everyone (e.g. for scripts)

777 Writable and executable by everyone (not recommended)


Directories

711 Files in directory can be read by everyone, but not directory contents

755 Files and contents of directory can be seen by everyone

777 Allows full read/write/delete access to a directory (not recommended)

หากคุณไม่สามารถแก้ File Permission สำหรับ File บน Host อาจเป็นเพราะ File นั้นๆมี root เป็น File Owner
ให้ FTP File นั้นๆมาแก้ Permission ในเครื่อง Desktop จากนั้นลบ File บน Host และ FTP File ที่แก้ Permission แล้วไปแทนที่

รับข้อมูลจาก "http://www.noklek.com/wiki2/index.php/File_permission"
เครื่องมือส่วนตัว