Unable to modify / delete files (Samba 4)

Ong Chin Kiat titantoppler at gmail.com
Thu Aug 12 20:33:58 MDT 2010

Hi list,

I'm running the alpha12 version of Samba 4 (from git).

I've installed Samba4 as an AD domain controller.

I have defined the shares permissions through the Windows management
console. Generally I am able to change the permissions, though when I reach
the last dialog box I get a "Error 1: Incorrect Function".

However, my users are unable to modify or delete existing files. When they
open a file and try to save over it, they get an "Access denied" message.

/usr/local/samba/var/samba.log shows the following entry:
*[Fri Aug 13 09:06:00 2010 SGT, 0
../ntvfs/posix/pvfs_acl.c:567 denied access to '/data/files/TEST.xls' -
wanted 0x00030116 but got 0x001201ff (missing 0x00010000)*

However, they are able to create files.

My share is mounted as:
*UUID=f9409dd3-1b94-43bb-a2f5-1401ea26698f       /data           reiserfs
noatime,user_xattr,acl         0       2*

I have no idea why, but the file permissions before Samba4 and after Samba4
(I migrated from 3.5) are different:
*-rw-rw-r--  1 root    adm          0 Aug 13 09:28 BEFORE S4.XLS
-rw-rw-r--  1 3000024 users   235845 Aug 13 08:19 AFTER S4.XLS*
My /usr/local/samba/etc/smb.conf is as follows:
        netbios name    = SERVER
        workgroup       = DOMAIN
        realm           = DOMAIN.SG
        server role     = domain controller
        interfaces      = eth0*
        path = /data/users/domain.sg/scripts
        read only = no*
        path = /data/users
        read only = no*
        path = /data/users/profiles
        read only = no*
        path = /data/users/homes
        read only = no*
*# Start of working shares*
        path = /data/files/TEST
        force directory mode = 775
        force create mode = 664
        read only = no*

Your help is appreciated.


More information about the samba-technical mailing list