Page 1 of 1

LAN plugin access to foder shared smb linux

Posted: 2021-07-01, 02:47 UTC
by arivas_2005
Regards.
I have a difficulty with LAN plugin
When accessing a samba shared folder (linux) with a non-root user (eg student, with all permissions), a folder can be created well, text files cannot be created.
And you cannot edit a text file that is already done.
Samba conf. have
writable = yes
west ok = yes
valid users = student
Is there an option to solve this problem?
( I want to create files as user student and edit it )
Thank you

Re: LAN plugin access to foder shared smb linux

Posted: 2021-07-01, 09:32 UTC
by ghisler(Author)
There are two permissions involved here:
1. The login permissions (these seem to work)
2. The permissions to write to the file system (they don't seem to allow it).

So where are you trying to access the files? Is this user's home folder, e.g. /home/student, or somewhere else?

Re: LAN plugin access to foder shared smb linux

Posted: 2021-07-01, 16:59 UTC
by arivas_2005
hanks for quick reply
elsewhere (/ home / SHARE), root folder but with all access permissions: read, write, execute and for user, group and others (full access, all permissions given).
LAN plugin with root user works fine, but changing user to student no longer works.
although the /home/SHARE folder has all the access permissions. (all)
I was curious: folders are created well, but .txt files are not
Thank you again.
[EDITED]
add a detail:
files can be copied to the access folder with LAN plugin, but after copying, it cannot be opened

Re: LAN plugin access to foder shared smb linux

Posted: 2021-07-02, 08:33 UTC
by ghisler(Author)
Please check the permissions the new folder gets. This is either controlled by the ftp server settings, or the umask value.