[Samba] While copying files to a samba share: You need permissions to perform this action

Thomas Glanzmann thomas at glanzmann.de
Fri Nov 2 20:02:38 UTC 2018


Hello,
I have a samba-4.9.1 serving a tmp space that I would like to write to
without authentication. The smb.conf is:

[global]
        workgroup = DIRECTORY
        interfaces = 10.10.10.1
        bind interfaces only = Yes
        security = user
        map to guest = Bad User
        rndc command = /bin/true
        server role = STANDALONE
        netbios name = filer
        log level = 3

        cache directory = /local/samba-config/common/cache
        lock directory = /local/samba-config/common/lock
        log file = /local/samba-config/common/log/%m
        pid directory = /local/samba-config/common/pid
        private dir = /local/samba-config/common/private
        state directory = /local/samba-config/common/state

[tmp]
        comment = Tmp
        browseable = No
        public = Yes
        guest only = Yes
        writable = Yes
        path = /var/tmp/samba


The permissions of the directory are:

(infra) [~] ls -al /var/tmp/samba
total 60
drwxrwxrwx 12 root     root      4096 Nov  2 20:58 ./
drwxrwxrwt 68 root     root     12288 Nov  2 21:00 ../
-rw-r--r--  1 sithglan sithglan   745 Jul 15 23:35 authorized_keys
drwxr-xr-x  2 nobody   nogroup   4096 Sep 22 20:56 v100/
drwxr-xr-x  2 nobody   nogroup   4096 Oct 28 16:24 v101/
drwxr-xr-x  2 nobody   nogroup   4096 Oct 28 16:24 v102/
drwxr-xr-x  2 nobody   nogroup   4096 Oct  8 11:25 v103/
drwxr-xr-x  2 nobody   nogroup   4096 May 13  2017 v104/
drwxr-xr-x  2 nobody   nogroup   4096 Sep 10  2015 v105/
drwxr-xr-x  2 nobody   nogroup   4096 May 11  2014 v106/
drwxr-xr-x  2 nobody   nogroup   4096 May 11  2014 v107/
drwxr-xr-x  2 nobody   nogroup   4096 Nov 19  2014 v108/
drwxr-xr-x  2 nobody   nogroup   4096 May 23  2017 v109/

When I try to write to copy over a folder called 'VMware ThinApp', I get the
following error message, and an empty folder is created:

drwxr-xr-x  2 nobody   nogroup   4096 Nov  2 21:01 VMware ThinApp/

What do I need to change to that everyone can write files to that directory?

Cheers,
        Thomas



More information about the samba mailing list