Step 1 - จากนั้นเราก็ทำการใช้คำสั่ง cd , ย้ายไปตำแหน่ง Directory เพื่อที่จะทำการเปลี่ยน Owner(เจ้าของ) Files
โค้ด: เลือกทั้งหมด
cd /path/to/directory
โค้ด: เลือกทั้งหมด
cd /opt/lampp/htdocs
โค้ด: เลือกทั้งหมด
cd /opt/lampp/htdocs
ยกตัวอย่างเช่น :
โค้ด: เลือกทั้งหมด
sudo chown -R com012 /opt/lampp/htdocs
แหล่งอ้างอิงข้อมูล
https://askubuntu.com/questions/150028/you-are-not-the-owner-message-when-trying-to-access-folder
แหล่งอ้างอิงรูปภาพ
https://askubuntu.com/questions/512514/change-ownership-of-external-drive
https://websiteforstudents.com/setting-files-and-folder-permissions-on-ubuntu-desktop/