J'espère que j'ai fait ce qu'il faut. A un moment l'ordi me dit: terminal souhaite accéder à "photos" et j'ai mit refuser (sans réfléchir) et oui aux suivant... oups
Bloc de code:
Last login: Sat Jun 5 18:18:40 on console
thomas@MacBook-Air-de-Lily ~ % sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
Password:
daemon.plist
lilycoppens.plist
nobody.plist
root.plist
thomas.plist
thomas@MacBook-Air-de-Lily ~ % diskutil listUsers / | grep -v '.*[\^\_\].*'
USERS
-----
Disk: disk1s6
Volume: Lily
Mountpoint: /
UID Short Name Long Name
------------------------------------------------------------------------
-2 nobody Unprivileged User
501 thomas Thomas
0 root System Administrator
1 daemon System Services
0 (null) (null)
thomas@MacBook-Air-de-Lily ~ % dscl . -list /Users home | grep -v '.*[\^\_\].*'
daemon /var/root
nobody /var/empty
root /var/root
thomas /Users/thomas
thomas@MacBook-Air-de-Lily ~ % sudo du -sh /Users/*
0B /Users/Shared
147G /Users/lilycoppens
du: /Users/thomas/Pictures/Photos Library.photoslibrary: Operation not permitted
du: /Users/thomas/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /Users/thomas/Library/Application Support/com.apple.sharedfilelist: Operation not permitted
du: /Users/thomas/Library/Application Support/com.apple.TCC: Operation not permitted
du: /Users/thomas/Library/Application Support/FileProvider: Operation not permitted
du: /Users/thomas/Library/Application Support/CallHistoryDB: Operation not permitted
du: /Users/thomas/Library/Autosave Information: Operation not permitted
du: /Users/thomas/Library/IdentityServices: Operation not permitted
du: /Users/thomas/Library/Messages: Operation not permitted
du: /Users/thomas/Library/Sharing: Operation not permitted
du: /Users/thomas/Library/Mail: Operation not permitted
du: /Users/thomas/Library/Safari: Operation not permitted
du: /Users/thomas/Library/Suggestions: Operation not permitted
du: /Users/thomas/Library/Containers/com.apple.Safari: Operation not permitted
du: /Users/thomas/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: Operation not permitted
du: /Users/thomas/Library/Containers/com.apple.mail: Operation not permitted
du: /Users/thomas/Library/PersonalizationPortrait: Operation not permitted
du: /Users/thomas/Library/Metadata/CoreSpotlight: Operation not permitted
du: /Users/thomas/Library/Cookies: Operation not permitted
du: /Users/thomas/Library/Caches/CloudKit: Operation not permitted
du: /Users/thomas/.Trash: Operation not permitted
80M /Users/thomas
thomas@MacBook-Air-de-Lily ~ %