a default config file is here : /etc/default/config/etc/frontview/samba/Shares.conf
but with correct default share : backup and media
at startup the nas is looking in :
/etc/frontview/samba/Shares.conf-sav
then try to restore missing shares
--- -------- 

super-poussin wrote:will try to find where but I do not understand why if a webroto share is declared and a media share is correctly declared the nas do such things at boot, before it was only adding things in Sahres.conf if they are not declared
--- -------- 

super-poussin wrote:Shares.conf is modified by the readynas startup file
--- -------- 

SergV wrote: There was not any "webroot" before installation of transsnission, so it is quite possible that install of add-on do it.
sphardy wrote:
S-P has written many addons which create and use the webroot share, all implemented using the same technique and never by updating the Shares.conf file directly (this file is well known to be written to directly by the firmware).
Read back on this thread and you will also see that this issue has been reported with addons that were last updated many months ago, prior to the release of 4.2.19, and the issue has only been reported by those users who have updated to 4.2.19.
sphardy wrote:Therefore the only common variable is the 4.2.19 firmware; something in this release has changed and somehow corrupts the Shares.conf file and the onus should now be on Netgear to fix this as S-P has already stated
[backup]
path = /c/backup
comment = "Backup Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force directory mode = 1777
directory mask = 1777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
[media]
path = /c/media
comment = "Media Server Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
[addons-config]
path = /c/addons-config
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
[webroot]
path = /c/webroot
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
--- -------- 

ewok wrote:This seems to already be fixed in the latest in-house code, and will appear in the next beta.
[T4] Prevent issue where third-party add-ons have the possibility to break Share configuration.
Return to Share Access and File Permission
Users browsing this forum: No registered users and 4 guests