P
P
pfg212018-02-06 10:22:50
Samba
pfg21, 2018-02-06 10:22:50

There are no execution rights on the smb-resource mounted in Windows??

an smb-resource is distributed from a small server on ubuntu.
I go to it along the path \\srv4\torrent and I can not execute an exe file from it.
emnip from under the admin did something with the rights and the file was launched from under a non-admin user, but how to do it once and for all ??
Help me to understand. poke that read
file permissions are displayed as such
5a7954c3a3d1a437929218.gif
a resource entry in smb.conf

[torrent]
comment    = for write
path       = /srv4/torrent/
browseable = No
create mask = 0666
directory mask = 0775
valid users= smbrw
write list = smbrw
hide unreadable = Yes
read only  = No
writable = Yes
guest ok   = No
public     = Yes
locking = no

user smbrw can read file
[email protected]:~$ sudo -u smbrw pv -pret /srv4/torrent/TC9120MXXs.exe > /dev/null
0:00:00 [ 183MiB/s] [======== ===============================>] 100%

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2018-02-06
@tsklab

"Advanced": turn off inheritance, turn on the necessary rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question