Linux For Cynics One user's experiences with Linux


Ubuntu 12.10 Broke My External HDD Shares

The set up I have for my NAS computer might not be typical, so perhaps this doesn't apply to most people. But when I upgraded to Ubuntu 12.10, my external hard drive was no longer accessible from the network. I would get the ""Unable to mount location. Failed to mount Windows share" error dialogue. What was most puzzling was that when I connected through ssh and tried to access /media/My Book, it was there, but I would get

ls: cannot open directory My Book/: Permission denied

The problem is that the mount points for external media have changed. For your user, they are now:


So, in order to share them over the network, your /etc/samba/smb.conf must reflect that (replace <username> and <drivername> with your details):

[My Book]
path = /media/<username>/<drivename>
available = yes
browsable = yes
public = yes
writable = yes
force user = <username>

And restart the samba service:

 sudo service smbd restart

Still won't work? Try this: How to share an external harddrive