I am new to lmce and only have a basic understanding of linux although I have been a keen user of ubuntu for a number of years.
I have boggled my brain searching for an answer to this so I hope I have not missed anything really basic.
I have successfully got a hybrid machine installed and working.
After initial installation I added a 1T internal hard drive which the core picked up and I told it to use the LMCE file structure.
I have been adding media to this disk and the core has successfully detected it and added it to its database.
I have copied the media to the following shares using my ubuntu samba client:
smb://192.168.80.1/public/audio/WDC_WD10EACS-00D%20(sda1)-CORE%20%5B70%5D
smb://192.168.80.1/public/videos/WDC_WD10EACS-00D%20(sda1)-CORE%20%5B70%5D
It all works like a charm.
Now for my problem.
I wanted to set up a share on the core for the family to use for documents, spreadsheets, accounting files etc. This is so I can decommission my old file server which is getting dated.
So, using the kde desktop on the core I copy all the files from my old fileserver to here:
smb://192.168.80.1/public/documents/WDC_WD10EACS-00D%20(sda1)-CORE%20%5B70%5D/
The problem is that when I do this I cannot get write access to the directory from the vista or ubuntu samba clients.
I have tried every combination of owner:group including root:root, root:public, charlie:charlie, root:charlie and the permissions are drwxr-xr-x (755) on the directories and -rwxr--r-- (744) on the files. My samba clients all connect as user charlie.
While writing this I have stumbled upon a work-around so for me a solution from the gurus is not important. However, I spent so much time on the problem that I figured I can save a headache or two so I will post anyway.
My simple work around is to create and populate the directory from the samba client machine not the core. (As I did with the media (yes, I know, that should have been a clue 2 days ago))
This results in directories and files with owner/permissions of charlie:charlie and drwxr-xr-x (755) and -rwxr--r-- (744).
Even though I used chown to duplicate this from the core, I could not get it to work. Perhaps the problem was not related to owner or permissions.
An explanation would give me closure....