First off you need to know the location of your mobile uploads, on Ubuntu Server 12.04 that would be:
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Media\ Upload/Mobile\ Photos/
Once you are aware of the location you can now define the samba share. Open the following file, with write privileges:
sudo nano /etc/samba/smb.conf
At the very end of this file, put in your share details:
[Pictures]
path = /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media Upload/Mobile Photos/
available = yes
valid users = macleod
read only = yes
browseable = yes
public = yes
writable = no
Share name is [Pictures], path is obviously path and the rest of the settings are self-explanatory.
Restart samba using the following command
sudo service smbd restart
And to test the syntax use the following:
testparm
I used the following link for most of the information provided here:
https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20(Command-line%20interface/Linux%20Terminal)%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way!
I used the following link for most of the information provided here:
https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20(Command-line%20interface/Linux%20Terminal)%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way!
No comments:
Post a Comment