Ubuntu – Can create and delete files through samba, but not modify

sambaUbuntu

I'm connecting from Windows 7 to Ubuntu Server 10.04 using samba. I can create new files in the share, delete those files, but if I try to edit a file, and then save it, I get an access denied. My User in Windows is the same as the one I'm connecting as and as setup in Ubuntu. This is very odd. I also have trouble copying files to Ubuntu as well. It errors but lets me copy them anyway.

Best Answer

Creating and deleting files is controlled by permissions on the directory. Modifying the file is controlled by permissions on the file. You may have a mask which is removing the write privilege from the file.