Hello everybody.
I have a strange problem.
I work on a Debian 7 laptop, and I try to edit files located on the LAN server, also running Debian 7. I have set up Samba on the server and I have access to the files. No problem. The problem is that I cannot open them with Sublime 3 (3083), whereas with different text editors I open them and I edit them with no problem whatsoever. So, I have to use SFTP and the whole process gets quite complicated.
Does anybody have any clue what might be wrong?
Thank you very much.
Opening files over LAN
vaggos
#1
0 Likes
vaggos
#2
For future reference, the solution I came up with, is that I mounted the remote folders on my file system. Up until now, I was just browsing the files with my file manager, and although that was enough for other editors, for Sublime it was not.
So, I created a folder to mount the remote folders with:
sudo mkdir /mnt/smb.
Then I mounted with the following command:
mount -t cifs //serverip/name_of_shared_location /local_folder -o user=root
So, the command for me is:
mount -t cifs //192.168.1.75/www /mnt/smb -o user=root
The name_of_shared_location is the name you gave your shared location in the Samba conf file.
I hope this will be helpful to other in the future too.
Happy subliming!
0 Likes