Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dsemf

macrumors 6502
Original poster
Jul 26, 2014
454
123
Before posting feedback I want to see if other people experience the same issue. Using PB1.

Scenario
Open a terminal window.
Code:
sysmba:~ xxx$ cd ~/Library/Safari
sysmba:Safari xxx$ ls -l
ls: .: Operation not permitted
sysmba:Safari xxx$

Apparent Cause
Code:
sysmba:~ xxx$ cd ~/Library
sysmba:Library xxx$ ls -l@
  --- snip ---
drwxr-xr-x@  36 xxx  staff  1152 Jun 30 09:34 Safari
    com.apple.quarantine      -1
drwxr-xr-x@   2 xxx  staff    64 Jun 29 06:35 SafariSafeBrowsing
    com.apple.quarantine      15
  --- snip ---
If the quarantine value is -1, then the ls command fails.
This also applies to the du command which is frequently used to analyze disk usage.
Finder is not affected.

DS
 
Before posting feedback I want to see if other people experience the same issue. Using PB1.

Scenario
Open a terminal window.
Code:
sysmba:~ xxx$ cd ~/Library/Safari
sysmba:Safari xxx$ ls -l
ls: .: Operation not permitted
sysmba:Safari xxx$

Apparent Cause
Code:
sysmba:~ xxx$ cd ~/Library
sysmba:Library xxx$ ls -l@
  --- snip ---
drwxr-xr-x@  36 xxx  staff  1152 Jun 30 09:34 Safari
    com.apple.quarantine      -1
drwxr-xr-x@   2 xxx  staff    64 Jun 29 06:35 SafariSafeBrowsing
    com.apple.quarantine      15
  --- snip ---
If the quarantine value is -1, then the ls command fails.
This also applies to the du command which is frequently used to analyze disk usage.
Finder is not affected.

DS

Deleted
[doublepost=1530620697][/doublepost]
Before posting feedback I want to see if other people experience the same issue. Using PB1.

Scenario
Open a terminal window.
Code:
sysmba:~ xxx$ cd ~/Library/Safari
sysmba:Safari xxx$ ls -l
ls: .: Operation not permitted
sysmba:Safari xxx$

Apparent Cause
Code:
sysmba:~ xxx$ cd ~/Library
sysmba:Library xxx$ ls -l@
  --- snip ---
drwxr-xr-x@  36 xxx  staff  1152 Jun 30 09:34 Safari
    com.apple.quarantine      -1
drwxr-xr-x@   2 xxx  staff    64 Jun 29 06:35 SafariSafeBrowsing
    com.apple.quarantine      15
  --- snip ---
If the quarantine value is -1, then the ls command fails.
This also applies to the du command which is frequently used to analyze disk usage.
Finder is not affected.

DS

Not sure if I correctly followed your steps above but mine seems to work

upload_2018-7-3_5-20-58.png


upload_2018-7-3_5-24-24.png


upload_2018-7-3_5-23-30.png



~ Mahalo ~
 

Attachments

  • upload_2018-7-3_5-22-12.png
    upload_2018-7-3_5-22-12.png
    32.1 KB · Views: 187
Last edited:
Not a -1 but a 15B

View attachment 768948

Regards
Interesting. Do you get any entries with -1? I also have plain numbers, no B suffix.

Here is selected output from ls -l@
Code:
drwxr-xr-x@  13 xxx  staff   416 Jun 29 06:05 Calendars
    com.apple.quarantine      -1 
drwx------@  11 xxx  staff   352 Jul  3 20:03 Cookies
    com.apple.quarantine      -1 
drwxr-xr-x@   4 xxx  staff   128 Jun 29 07:09 Google
    com.apple.quarantine      21 
drwx------@   4 xxx  staff   128 Jun 29 09:36 Mail
    com.apple.quarantine      -1 
drwxr-xr-x@   4 xxx  staff   128 Jun 29 20:09 News
    com.apple.quarantine      19 
drwxr-xr-x@   3 xxx  staff    96 Jun 29 06:06 PersonalizationPortrait
    com.apple.metadata:com_apple_backup_excludeItem      -1 
drwxr-xr-x@  36 xxx  staff  1152 Jul  3 19:50 Safari
    com.apple.quarantine      -1 
drwxr-xr-x@   2 xxx  staff    64 Jun 29 06:35 SafariSafeBrowsing
    com.apple.quarantine      15 
drwx------@   6 xxx  staff   192 Jul  3 16:39 Saved Application State
    com.apple.metadata:com_apple_backup_excludeItem      61 
drwxr-xr-x@  20 xxx  staff   640 Jul  3 15:55 Suggestions
    com.apple.metadata:com_apple_backup_excludeItem      -1

The -1 appears to the cause rather the particular extended attribute.

I installed PB1 to a new volume in the same APFS container as HS.

DS
 
Did a ls -l@ under ~/Library as you indicated.

None of the com.apple.quarantine displayed -1. Showed range of 23B to 46B, at least under that folder above.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.