mount_smbfs scripting help
Right, following on from my previous thread, I've found that changing some permissions and hiding the Movies/Pictures/Downloads/etc folders after mounting the home drive direct to the ~/Documents folder makes everything work.
The kids are now forced to save into their ~/Documents folder which is mounted directly to their home share on a windows server.
I mount the drive to ~/Documents using the following command:
this works fine while I'm testing it in terminal, but adding that to a login script gives the following error:
mount_smbfs smb://server/hiddenshare$/$USER ~/Documents
Any ideas where I'm going wrong. I'm sure it'll be massively obvious!
mount_smbfs: mount error: /Users/USER$/Documents: No such file or directory