My /bin directory now has a restricted flag on it. Even with sudo i can't change anything. I tried using chflags to remove it without luck.
% ls -alO / | grep -i restricted !2008
drwxr-xr-x@ 4 root wheel restricted 136 Jun 8 16:17 System
drwxr-xr-x@ 56 root wheel restricted,hidden 1904 Jun 8 16:30 bin
lrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:23 etc -> private/etc
drwxr-xr-x@ 59 root wheel restricted,hidden 2006 Jun 8 16:24 sbin
lrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:23 tmp -> private/tmp
drwxr-xr-x@ 12 root wheel restricted,hidden 408 Jun 8 16:30 usr
lrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:24 var -> private/var
I also tried adding my user to the perms, sudo su as root cant even move files there.
Making it really difficult to edit the scripts i have there.
I even did a permission verify and repair on the disk.
MacBook (Retina, 12-inch, Early 2015)
1.2 GHz Intel Core M
8 GB 1600 MHz DDR3
INTEL HD Graphics 5300 1536 MB
Available: 430.94 GB (430,935,441,408 bytes)
Capacity: 498.95 GB (498,954,403,840 bytes)
Mount Point: /
File System: Journaled HFS+
Writable: Yes
Ignore Ownership: No
BSD Name: disk1
Media Name: APPLE SSD AP0512H Media
Size: 499.31 GB (499,313,168,384 bytes)
Medium Type: SSD
Protocol: PCI-Express
Internal: Yes
Partition Map Type: GPT (GUID Partition Table)
Status: Online