5

When I open a Microsoft Office file from one of my Samba shares and then I disconnect and reconnect from the network I have to save my files as a copy because the file was somehow changed to read-only. I need to be able to save files/overwrite them even after leaving and reconnecting to the network.

ClearOS 5.2
Samba version 3.5.14-1.1.v5
Windows 7 64-bit & Windows XP Clients

Tristan Hall
  • 139
  • 1
  • 8
  • 2
    After editing/saving a file, are the file permissions themselves changed? (i.e rwxrwxrwx to r-xr-xr-x)? Or are the files locked/"not available for editing"? – Univ426 Jul 30 '12 at 18:08
  • I will check for that when I get back from vacation on the 13th. – Tristan Hall Aug 03 '12 at 14:15
  • The file permissions aren't being changed after editing/saving. However I did notice that the Office 2007 lock file is still around even after closing the program and saving the document. Here's what "ls -l" returned for it: – Tristan Hall Aug 06 '12 at 14:54
  • The permissions aren't being changed after editing/saving. However, I did notice that the Office 2007 lock file (file beginning with '~$') is still on my samba share even after saving and closing. Does this have anything to do with my issue and how do I fix it? Thank you! – Tristan Hall Aug 06 '12 at 14:55

1 Answers1

6

I am not sure if its the default option but you could check to see if oplocking is enabled.

More information can be found here

JMeterX
  • 3,387
  • 15
  • 31