Skip to main content
Question

Hiding the user Library folder in High Sierra

  • March 15, 2018
  • 0 replies
  • 0 views

Forum|alt.badge.img+6

I thought I would share this for everyone. It seems that in High Sierra, using chflags nohidden on the user's Library folder no longer works. It will work on any other file/folder in the file system (non-SIP) but not the user's home folder Library. So, I whipped up this script to be run through the jamf binary

#!/bin/bash

for username in `ls -d /Users/*/Library`; do xattr -d com.apple.FinderInfo $username; done

This strips the extended attribute completely for all existing home directories.