A couple of times we’ve had machines that were newly encrypted with FileVault 2 give us the “circle-with-slash” on boot. Booting to verbose mode mentioned some PGP information, which shouldn’t be there. If that happens, boot to the recovery Partition and decrypt via Disk Utility or perform a CoreStorage revert via Terminal. Once you can access the partition again, look for /System/Library/Extensions/PGPwde.kext
and /Library/PriviledgedHelperTools/com.pgp.framework.PGPwde
and remove them if present. Try FileVault again and you’ll probably have better luck.
Leftover PGP kernel extensions vs. FileVault 2
10 03 2014Comments : Leave a Comment »
Categories : Apple this Apple that, OS X
New rsync remote host syntax
7 03 2014Updated rsync syntax. This version accounts for symlinks and does a better job with file permissions, now that the source files are on a network drive:
rsync -v -r -u -l -e ssh --chmod=a+r,Dg+s,ug+w,o-w,+X,Fa-x --exclude-from=/path/to/skip.txt /path/to/mounted/network/drive netid@server.domain.url:/remote/destination
-v
= verbose
-r
= recursive
-u
= update changed files only
-l
= copy symlinks as symlinks
-e
= specify remote shell (“ssh” in this example)
-chmod
= affect file and/or directory permissions
a+r
= all add readDg+s
= Directories only, group add sticky bitug+w
= owner/group add writeo-w
= other remove write+X
= make a directory or file searchable/executable by everyone if it is already searchable/executable by anyone…Fa-x
= …but remove searchable/executable if it’s a file and not a directory
As before, you can also get a “dry run” to list changes (but not actually execute the change) by adding the -n
flag:
rsync -v -r -u -l -n -e ssh --chmod=a+r,Dg+s,ug+w,o-w,+X,Fa-x --exclude-from=/path/to/skip.txt /path/to/mounted/network/drive netid@server.domain.url:/remote/destination
Comments : Leave a Comment »
Categories : Linux, OS X
OS X Icons
12 04 2013Looking for pretty OS X icons for use in presentations?
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/
Comments : Leave a Comment »
Categories : Apple this Apple that, OS X
rsync remote host syntax
12 03 2013In a nutshell:
rsync -v -r -u -e ssh ./localsource netid@server.domain.url:/remote/destination
-v
= verbose
-r
= recursive
-u
= update changed files only
-e
= specify remote shell (“ssh” in this example)
You can also get a “dry run” and see what will change (but not actually execute the change) by adding the -n
flag:
rsync -v -r -u -n -e ssh ./localsource netid@server.domain.url:/remote/destination
Files that should regularly be excluded (such as .DS_Store) can have their names added to a text file, such as:
Temporary Items
.DS_Store
skip.txt
Then call the text file with the --exclude-from
flag:
rsync -v -r -u -e ssh --exclude-from=/path/to/skip.txt ./localsource \ netid@server.domain.url:/remote/destination
Comments : Leave a Comment »
Categories : Linux, OS X
httpd conf edits
12 03 2013Main conf file in:
/etc/httpd/conf
Includes in:
/etc/httpd/conf.d
Make your changes, restart httpd:
/etc/init.d/httpd restart
Comments : Leave a Comment »
Categories : Linux