[X-Unix] Space character in short user name!
Jerry Krinock
jerry at ieee.org
Thu Jan 12 15:10:30 PST 2012
A AppleScript I sent to a user didn't work because, according to this simpler script, this guy's account somehow has a short name of "MacBook Pro". Spaces are not allowed in short user names.
Here's the script:
set posixHome to POSIX path of (path to home folder)
set answer to "posixHome = <" & posixHome & ">"
set the clipboard to answer
I told him to run the script and send me what was on the clipboard. The result:
posixHome = </Users/MacBook Pro/>
How in hell did he get a space in his short user name? If I create an account in System Preferences and try to type a space character in the short name field, I get a BEEP.
More information about the X-Unix
mailing list