It is currently 03 Sep 2010 09:33

 

All times are UTC + 7 hours



Reply to topic  [ 4 posts ] 
Author Message
Webmaster
 Post subject: วิธีเปลี่ยน Permission ง่ายๆ
PostPosted: 20 Nov 2007 12:05 
ผู้ดูแลเวบ
User avatar

Joined: 10 Nov 2002 17:33
Posts: 3169
Thanks Give: 372
Thanks Recieve:
7991 times in 1285 posts
Age: 43
ชื่อเล่น: โรจน์
จังหวัด: ปทุมธานี
Thanks 
หลายคนจะติดปัญหาในการติดตั้งโปรแกรมแล้วต้องมีการเปลี่ยน ค่า Permission ต่างๆ ของ File หรือ Folder

โดยปกติแล้วผมมักจะใช้ SFTP เช่น WinSCP หรือ CuteFTP หรือ SSH หรือ Term-VT100 เข้าไปเปลี่ยน แต่อาจจะไม่ถนัดสำหรับบางคน

ผมจะมาสอนวิธีที่น่าจะง่ายที่สุดให้ละกัน โดยใช้โปรแกรม MobileFinder ที่อยู่ในหมวดหมู่ Productivity

ชื่อโปรแกรม : MobileFinder
หมวดหมู่ : Productivity
(ต้องลง Community Source ก่อนจึงจะมีโปรแกรมนี้)


ตั้งค่า MobileFinder ก่อนการใช้งาน

    Image
  1. เปิดโปรแกรม MobileFinder

    Image
  2. กำหนดค่า ในส่วน Setting โดยกำหนด
    • Show Hidden File = On (เพื่อให้สามารถมองเห็น File หรือ Folder ที่ Hidden เอาไว้)
    • Application Launch = Off (เพื่อไม่ให้ MobileFinder เปิดโปรแกรมขึ้นมาใช้งาน)

การกำหนด Permission

    Image
  1. กลับมาที่ส่วนของ Finder แล้วทำการเลือก File หรือ Folder ที่ต้องการตั้งค่า Permision แลเวกดที่ปุ่ม Modify

    Image
  2. ทำการตั้งค่าตามต้องการ

    ส่วนใหญ่ต้องตั้งเป็น 755 หรือ 0755 (อันเดียวกัน) ก็ต้องตั้งให้เป็น ตามรูปได้เลย


Top
 Profile  
b_SincLaIR
 Post subject:
PostPosted: 03 Feb 2008 21:13 
สมาชิก
User avatar

Joined: 31 Oct 2007 22:08
Posts: 7
Thanks Give: 4
Thanks Recieve:
1 time in 1 post
Thanks 
MobileFinder ก็พอแว้วววว :mrgreen: เพราะมันปรับได้เท่านั้นแหละครับ
Permission ที่เปิดให้ทุก User ใช้หมดคือ 777 (Owner=7, Group=7, Everyone=7)
ลองดูตารางข้างล่างแล้วลองบวกเลขจากซ้ายไปขวาดูครับ

Image


Last edited by b_SincLaIR on 04 Feb 2008 01:11, edited 2 times in total.

Top
 Profile  
Webmaster
 Post subject:
PostPosted: 03 Feb 2008 23:43 
ผู้ดูแลเวบ
User avatar

Joined: 10 Nov 2002 17:33
Posts: 3169
Thanks Give: 372
Thanks Recieve:
7991 times in 1285 posts
Age: 43
ชื่อเล่น: โรจน์
จังหวัด: ปทุมธานี
Thanks 
ตามรูปนะครับ

Image

ดูตรงแถว Owner จะมี 3 ปุ่มที่ On --> ค่า Permission = 4 + 2 + 1 = 7
ดูตรงแถว Group จะมี 2 ปุ่มที่ On ปุ่มตรงกลาง Off --> ค่า Permission = 4 + 0 + 1 = 5
ดูตรงแถว Everyone จะมี 2 ปุ่มที่ On ปุ่มตรงกลาง Off --> ค่า Permission = 4 + 0 + 1 = 5

รวมกันคือ 755

ระบบ Permission มันต้องเข้า Cource อบรมระบบเป็นวันๆ คงอธิบายยากสักหน่อย เอาง่ายๆ คือ

แบ่ง ผู้ใช้เป็น 3 แบบ คือ เจ้าของ , ระบบ และ คนอื่นๆ เราจะต้องกำหนดการใช้งานของ File ต่างๆว่าจะให้ใครสามารถ อ่าน , เขียน หรือ ทำงาน ได้ เช่น

Owner = เจ้าของ File = 7 ก็หมายความว่า เจ้าของ File สามารถ อ่าน , เขียน หรือ สั่งทำงานได้
Group = User Group = 5 ก็หมายความว่า User Group สามารถ อ่านได้ เขียนไม่ได้ และ สั่งทำงานได้
Everyone = ใครก็ได้ = 5 ก็หมายความว่า ใครก็ได้ สามารถ อ่านได้ เขียนไม่ได้ และ สั่งทำงานได้

สังเกตว่าตรง อ่านได้ กับ สั่งทำงานได้ จะเหมือนกันทั้ง 3 ส่วน


Top
 Profile  
SerpenT
 Post subject:
PostPosted: 04 Feb 2008 01:26 
ผู้ดูแลเวบ
User avatar

Joined: 15 May 2003 15:48
Posts: 115
Thanks Give: 13
Thanks Recieve:
67 times in 35 posts
Age: 28
ชื่อเล่น: ฺBerM
Thanks 
ขออนุญาตเพิ่มเติมอีกนิดนะครับ

ถ้าหากท่านใดต้องการโปรแกรม Set ค่า Permissions นอกเหนือจาก MobileFinder แล้ว

ลองดูเป็น Squid อีกหนึ่งโปรแกรมสำหรับการ Set ก็ใช้งานได้ดีเช่นกันครับ

Image


Top
 Profile  
Display posts from previous:  Sort by  
Reply to topic  [ 4 posts ] 

All times are UTC + 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Google
All Smart-Mobile.com

บทความ รีวิว หน้าจอส่วนหนึ่งส่วนใด กระทู้หรือโพสต่างๆ ของเวบเป็นลิขสิทธิ์ของผู้เขียน และเวบ Smart-Mobile.com หากต้องการนำไปเผยแพร่กรุณาติดต่อเจ้าของลิขสิทธิ์ก่อน
Notice:Nothing on this site is illegal. any applications or data obtained from this site should be considered useable for informational purposes only. any improper use of the information herein is the responsibility of the visitor and in no way can the operator of this site, nor the hosting company be held responsible... i always have, and always will, buy the applications that i use. supporting good developers is as important as discouraging the bad ones.
Copyright © 2003-2004 www.smart-mobile.com
Webmaster : วิโรจน์ เรืองแสงศิลป์


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group


Micro SIM เติมเงิน ออนไลน์ เติมเงิน ออนไลน์
MxPhone PixThai