เห็น error The calling process or user lacks the proper privileges to perform the operation น่าหงุดหงิดมาก ปัญหานี้มักเกิดขึ้นเมื่อพยายาม erase disk หรือ SD card เข้าถึงไฟล์บางไฟล์ หรือรัน system-level commands โดยไม่มี privileges เพียงพอ
ผมต้องการ format SD card แต่พอลอง ได้ข้อความ "The calling process or user lacks the proper privileges to perform this operation" แต่พอคลิก permissions ได้ "you have custom access" ไม่มี option ให้เปลี่ยน จะ reformat SD card บน Mac ได้อย่างไร? -Apple.community
ผมพยายาม format drive เป็น Time Machine backup แต่ได้ข้อความว่า lack proper privileges ไม่รู้จะแก้อย่างไร ช่วยได้ไหม? -reddit.com
อย่าตกใจ เราระบุ useful ways ด้านล่างเพื่อแก้ปัญหานี้โดยไม่สูญเสียข้อมูลที่คุณห่วงใย
การเตรียม: กู้ข้อมูลด่วนก่อนแก้ปัญหา
ก่อนพยายาม fix ใดๆ สิ่งสำคัญที่สุดคือ data recovery เมื่อจัดการกับ system-level errors หรือ disk formatting issues เช่น the calling process or user lacks the proper privileges เสมอมีความเสี่ยง permanent data loss
การพยายาม reformat, erase หรือ repair drive/SD card โดยไม่ backup จะ overwrite หรือ corrupt ไฟล์ของคุณ ทำให้ unrecoverable ในที่สุด เพื่อหลีกเลี่ยง ให้ใช้ reliable recovery tool เช่น iBoysoft Data Recovery for Mac ซึ่งสามารถกู้ข้อมูลทั้งหมดใน drive (Deleted, encrypted, formatted, unseen, unmounted...)
มา กู้ข้อมูลจาก drive ด้วย iBoysoft Data Recovery for Mac:
- Free download, install, และ launch iBoysoft Data Recovery for Mac
- เลือก problematic drive ด้านซ้าย และคลิก Search for Lost Data ที่ด้านล่าง
- Preview ไฟล์หลังสแกน
- เลือกข้อมูลที่ต้องการและคลิก Recover เพื่อบันทึกไปที่อื่น

เมื่อคุณดำเนินการ disk repairs (แม้ internal หรือ external), formatting หรือ system modifications คุณอาจสูญโอกาสกู้ไฟล์ นั่นคือเหตุผลที่ critical ที่จะ secure ข้อมูลก่อนไป troubleshooting ด้านล่าง
แชร์ useful tool นี้เพื่อช่วย Mac users มากขึ้น
วิธีแก้ไข calling process or user lacks privileges บน Mac
ตอนนี้ข้อมูลของคุณปลอดภัยหรือสำรองแล้ว มาเดินผ่าน possible solutions เพื่อกำจัด error นี้:
# 1 Grant Full Disk Access
บางครั้ง apps เช่น Terminal, Disk Utility หรือ third-party tools และไฟล์ของคุณถูกจำกัดโดย macOS privacy controls เพื่ออนุญาตให้พวกเขาทำ sensitive operations:
- Apple menu > System Settings > Privacy & Security
- คลิก Full Disk Access และคลิกปุ่ม + เพื่อเพิ่ม app ที่คุณต้องการใช้ (app ที่แสดง error เช่น Terminal, Disk Utility และอื่นๆ)
- Toggle switch ถัดจาก app เป็น ON

- Restart app หากมันเปิดอยู่แล้ว
# 2 ตรวจสอบและปรับ drive permission
ขาด read/write access ไปยัง drive หรือ file เฉพาะสามารถ trigger error นี้ได้
- Right-click บน drive หรือ folder และเลือก Get Info
- เลื่อนไป Sharing & Permissions section ที่ด้านล่าง
- คลิก lock icon และพิมพ์ admin password
- ตรวจสอบว่า user account ของคุณมี Read & Write access
- หากต้อง คลิก + เพื่อเพิ่ม user หรือเปลี่ยน privilege level

# 3 ตรวจสอบ user account privileges
บาง operations ทำได้เฉพาะ administrator เพื่อ verify account privileges ของคุณสามารถแก้ Mac cannot format external hard drives anymore error
- Apple menu > System Settings > Users & Groups
- ค้นหา account ของคุณด้านซ้าย
- ยืนยันว่า labeled as Administrator
- หากเป็น Standard คุณต้อง login ด้วย admin account หรือขอ admin user ทำการเปลี่ยนแปลง
# 4 ซ่อมแซม drive ด้วย Disk Utility
Disk Utility's First Aid สามารถซ่อม directory และ permission errors ที่อาจเป็นสาเหตุปัญหา
- Finder > Applications > Utilities > Disk Utility
- เลือก affected drive หรือ volume จาก sidebar
- คลิกปุ่ม First Aid ใน toolbar
- ยืนยันและรันกระบวนการ อาจใช้เวลานาน几分钟
- Restart Mac และลอง action อีกครั้ง
หากคุณแก้ปัญหาที่นี่ ทำไมไม่แชร์โพสต์ของเรา?
# 5 Force format drive ด้วย Terminal
หากคุณไม่สามารถ format drive ด้วย error calling process... คุณสามารถลอง format ผ่าน Terminal แต่จำได้ว่า unmount drive ก่อน erase
- Finder > Applications > Utilities > Disk Utility
- เลือก disk หรือ volume ที่จะ erase
- คลิก Unmount button

- Finder > Applications > Utilities > Terminal
- พิมพ์ diskutil list และกด Enter
(หา identifier สำหรับ problematic disk เช่น /dev/disk2) - พิมพ์ sudo diskutil eraseDisk APFS "NewName" /dev/diskX และกด Enter
(แทนที่ diskX ด้วย disk identifier จริง และ NewName ด้วย volume name ที่ต้องการ)
# 6 Disable SIP ชั่วคราว
หากวิธีอื่นๆ ล้มเหลว System Integrity Protection (SIP) อาจ block operation ปิดมันเพื่อได้ full root access
หมายเหตุ: ใช้ด้วยความระมัดระวัง การปิด SIP ลดการป้องกันของระบบ เปิดใหม่เมื่อเสร็จ
- Restart Mac และ gedged Command + R เพื่อเข้า macOS Recovery Mode
- จาก top menu คลิก Utilities > Terminal

- พิมพ์ csrutil disable และกด Enter
- หลังตรวจสอบปัญหา ให้เข้า mode นี้อีกครั้ง
- พิมพ์ csrutil enable และกด Enter
# 7 ใช้ macOS Recovery Mode เพื่อ erase
เป็น last resort ใช้ macOS Recovery เพื่อ erase drive ด้วย elevated privileges เพื่อลบ incorrect permissions ในการ format SD card บน Mac
- Restart Mac และ gedged Command + R
- Once in Recovery Mode เปิด Disk Utility จาก Utilities menu
- เลือก disk ที่จะ erase
- คลิก Erase และเลือก format ที่ต้องการ (เช่น APFS หรือ Mac OS Extended)
วิธีนี้ bypass privilege restrictions บางอย่างที่มีระหว่าง normal macOS use
Final thoughts
"The calling process or user lacks privileges" error บน Mac เป็น permissions-related issue ที่สามารถแก้ได้ผ่าน methods ด้านบน ขั้นตอนสำคัญที่สุดอย่างไรก็ตามคือ recovery ข้อมูลก่อนพยายาม fix ใดๆ โดยเฉพาะหากวางแผน reformat หรือ erase disk
iBoysoft Data Recovery for Mac เป็น trusted solution ที่ให้คุณกู้ไฟล์จาก internal/external drives — ไม่ว่าจะ deleted, encrypted, unmounted หรือ corrupted เมื่อข้อมูลของคุณปลอดภัย คุณสามารถดำเนินการ troubleshooting steps ด้านบนอย่างมั่นใจและกู้คืน full functionality ของ Mac