change directory from /home/ubuntu/tmp to a different location (like a smb or nfs share)

Asked by Stephen DeLay

How can I change the directory from /home/ubuntu/tmp to a different location (like a smb or nfs share)?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wolf Geldmacher (wolf-womaro) said :
#1

If you are using uck-gui the easiest way is to remove the ~/tmp directory and re-create is as a symbolic link to some directory on the share (i.e. in a terminal type "rmdir ~/tmp; ln -s /path/to/your/mounted/share ~/tmp"). The CLI uck- commands allow you to specify a different customization root directory as parameter.

You should be aware that, due to the way UCK works, there could be issues with some remote filesystems (I've personally never tried to use an SMB share; NFS will have to be configured to allow root access on the server side) and (depending on your network infrastructure) performance may suffer. Using an external (USB, eSATA) scratch disk with an ext[234] filesystem will probably work better.

Can you help with this problem?

Provide an answer of your own, or ask Stephen DeLay for more information if necessary.

To post a message you must log in.