With Cracklepop's permission I would like to offer an alternative. The problem with external USB drives ( if formatted with NTFS or FAT32 ) is that they automount with your-user-name as owner and permissions of 700 meaning only your-user-name has access. One way as explained above is to add an entry into fstab but you can also use Samba itself to work around this problem. It does however violate the premise of this HowTo in that it requires a non-GUI remedy:
Edit smb.conf as root:
Code:
gksu gedit /etc/samba/smb.conf
Add a line to the [global] section:
Code:
force user = your-user-name
Change "your-user-name" to your actual login user name on that box.
Save the file, exit gedit, and back in the terminal restart samba:
Code:
sudo service smbd restart
After the remote user passes Samba authentication ( be that guest or with a username and password ) his identity will be converted to "your-user-name" as far as those shares are concerned.
Bookmarks