Dear Kanito
Do you use this command:
smbpasswd -a root
reset password for user using samba
one account, but it use 2 part
1/account local
2/account samba (you must reset password for user to use samba)
Thanks
On Thu, Jan 14, 2021 at 8:47 AM Kanito 73 via samba <samba at
lists.samba.org>
wrote:
> Hi
>
> > Please add this comment to your share:
> > valid users = @root @username
>
> It did not work, it is still read only for normal users. I edited smb.comf
> and restarted the service but did not work, also rebooted the computer but
> still does not work 8(
>
> ________________________________
> From: Hoang Quynh <hoangquynh03 at gmail.com>
> Sent: Thursday, January 14, 2021 1:11 AM
> To: Kanito 73 <kanito73 at hotmail.com>
> Cc: samba at lists.samba.org <samba at lists.samba.org>
> Subject: Re: [Samba] SAMBA shares are READ ONLY to normal users
>
> Dear Kanito.
>
> Please add this comment to your share:
> valid users = @root @username
> ---------------------------------
> [install]
> comment = Install
> path = /mnt/data/INSTALL
> browseable = yes
> read only = yes
> guest ok = no
>
> [shared]
> comment = Shared
> path = /mnt/data/DATA/Shared
> browseable = yes
> read only = no
> guest ok = no
> valid users = @root
>
> [download]
> comment = Downloads
> path = /mnt/data/DOWNLOAD
> browseable = yes
> read only = yes
> guest ok = no
> valid users = @root
>
> Permission only this user or group can acces to this folder.
>
> Thanks and regards.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>