LAN plugin access to foder shared smb linux

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
arivas_2005
Junior Member
Junior Member
Posts: 3
Joined: 2021-02-21, 03:30 UTC

LAN plugin access to foder shared smb linux

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin access to foder shared smb linux

Post 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?
Author of Total Commander
https://www.ghisler.com
arivas_2005
Junior Member
Junior Member
Posts: 3
Joined: 2021-02-21, 03:30 UTC

Re: LAN plugin access to foder shared smb linux

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin access to foder shared smb linux

Post by *ghisler(Author) »

Please check the permissions the new folder gets. This is either controlled by the ftp server settings, or the umask value.
Author of Total Commander
https://www.ghisler.com
Post Reply