Firmware 17: Samba problems persist changes to smb.conf

Hi!
I'm totally new to fvdw-sl and I installed the current version several days ago on my Lacie Network Space 2 (lite). At first it seems to be a good replace to the orginal firmware but now I have some problems I cannot resolve which worked with the original firmware out of the box.
I have two shares:
public
private
"public" is the standard guest share and "private" is tied to an user account with password.
When I connect a network drive using Windows the "public" share is always connected with the same user account as the "private" share. But when I store files on the "public" share the user of the "private" share is set as owning user in the Linux filesystem. When I try to access the files from another computer, which has only access to the "public" share, it is not possible.
I managed to fix this problem by adding the "force user" and "force group" options in the "/usr/var/smb.conf":
Here a test how the filesystem looks like before the change in the "smb.conf" (Test1) and after the change (Test2):
But after a reboot the "smb.conf" is missing these two lines.
How do I persist these changes to the "smb.conf" file?
Regards
Frapl
I'm totally new to fvdw-sl and I installed the current version several days ago on my Lacie Network Space 2 (lite). At first it seems to be a good replace to the orginal firmware but now I have some problems I cannot resolve which worked with the original firmware out of the box.
I have two shares:
public
private
"public" is the standard guest share and "private" is tied to an user account with password.
When I connect a network drive using Windows the "public" share is always connected with the same user account as the "private" share. But when I store files on the "public" share the user of the "private" share is set as owning user in the Linux filesystem. When I try to access the files from another computer, which has only access to the "public" share, it is not possible.
I managed to fix this problem by adding the "force user" and "force group" options in the "/usr/var/smb.conf":
- Code: Select all
[public]
comment = Default_share
path = /share/1000/public
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
Here a test how the filesystem looks like before the change in the "smb.conf" (Test1) and after the change (Test2):
- Code: Select all
root@lacie:/ # ls -la /share/1000/public/
drwxrwxrwx 14 root root 4096 2018-08-23 20:09 .
drwxrwxrwx 6 root root 4096 2018-08-22 19:01 ..
drwx------ 2 private private 4096 2018-08-23 19:05 Test1
drwxrwxrwx 2 nobody nobody 4096 2018-08-23 20:10 Test2
But after a reboot the "smb.conf" is missing these two lines.
How do I persist these changes to the "smb.conf" file?
Regards
Frapl