Execute only + Samba Settings

nitin chandra nitinchandra1 at gmail.com
Wed Oct 18 07:07:51 UTC 2017


Hi All,

I need some guidance in setting samba config for one folder,

1.where files can be executed ONLY,
2.cannot be opened for read / write
(users cannot copy from that folder on clients / their systems).

Currently the setting are :

[LispEXE]
path = /home/dayaram/LispEXE
read only = yes
writeable = no
valid users = operations
acl allow execute always = True

and the file 'chmod' is :

adminsys at mapsets01:/home/dayaram/LispEXE$ ls -alh
total 26K
drwxr-xr-x 2 dayaram dayaram   3 Oct 18 11:54 .
drwxr-xr-x 5 dayaram dayaram   9 Oct 18 11:41 ..
---x--x--x 1 dayaram dayaram 40K Oct 18 11:53 flvol_grM.lsp

There is another directory in '/home/dayaram' which are accessible, as
required, with no issues in permissions.

Currently I can see the Shared Directory and file, but when I want to
load it to execute in CAD (appload) I get access right error.

If I give the file '+r' permission, then it can be opened for read,
dont want this.

Please suggest.

Thanks

Nitin Chandra




More information about the ubuntu-users mailing list