I have a Samba share set up on an Ubuntu server 10.10.10.199 I am using user permissions on the server. I have shared the directory /var/www as [webroot]
[webroot]
read only = no
guest ok = no
path = /var/www
browseable = yes
create mask = 0755
writable = yes
I can connect just fine and see all the files in the finder
cifs://10.10.10.199/webroot
From the finder I can create a new folder, and duplicate files that already exist, and they show up fine on the Ubuntu server. However, if I attempt to open a file from the share in Textedit it doesn't load and says the file is locked. I can open files in Sublime Text 3, but when I edit and attempt to save I get the following message:
Overwite write-protected file /Volumes/webroot/test/test.html When I click Overwrite I get the following error: Unable to save /Volumes/webroot/test/test.html Error: /Volumes/webroot/test/test.html is readonly
So why can I create folders and duplicate files from the Finder, but not edit and save existing files or create new ones from my text editor? And how can I fix it so that I can create and edit files with my text editor?