hit counter

Timeline

My development logbook

iPad Photo Sync

Another weird problem with sync’ing ipad: When it comes to photo sync, it goes “You do not have enough access privileges to sync this ipad”.

It turns out because of previous share connection problem, I have changed the login for share mapping. The permissions are therefore out of sync.

Fixed by granting write permission to the group for the set of files

Dscl

Another difference between Linux and OSX: no more adduser. Use dscl instead.

So, for example, in order to find out what groups are defined locally, we can run

dscl localhost -list /Local/Default/Groups

To add someone to a group, we should run

dscl . append /Groups/somegroup GroupMembership someuser

Don’t know where GroupMembership comes from. From documentation?

MBP and SMB

Has great difficulty in connecting, from my MBP, to a samba share that is living on a mac mini/osx 10.6. Need to log in and out to reconnect.

Nltk Setup

Need to install libYAML-0.1.3 and PyYAML-3.0.9 first

Turns out the python system path is not set properly, and I am still unable to install nltk. Need fixing