MS Office (2013 above ) Access denied at shared folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi i have tried my best to resolve the issue but was not able to do : the problem is shared folder of samba . if a file is created by user1 ,e.g textfile , it can be edited by user2 but if ms office file is created by user1 it can not be edited by user2 , ms office says access is denied , contact your administrator.
i have found that the bug was earlier in ms office 2007 and samba 3.xx ..it was reported and bugfix was issued ...in this new version its appearing again , please issue a bug fix and also let me know how could i resolve it.
samba version : Version 4.13.17-Ubuntu
ubuntu version: Ubuntu 20.04.4 LTS
kernel: Linux 5.4.0-121-generic
samba configurations as follows:
global]
netbios name = sambaserver
netbios aliases = samba1,samba2
log level = 2
usershare allow guests = yes
os level = 20
log file = /var/log/
max log size = 1000
pam password change = yes
logging = file
obey pam restrictions = yes
disable netbios = no
server role = standalone server
map to guest = bad user
server string = %h server (Samba, Ubuntu)
workgroup = WORKGROUP
passwd chat = *Enter\
passwd program = /usr/bin/passwd %u
encrypt passwords = yes
passdb backend = smbpasswd
panic action = /usr/share/
unix password sync = yes
[Accounts_share]
writeable = yes
force create mode = 2755
valid users = @accounts_dept
path = /home/samba/
create mask = 2775
directory mask = 2775
force directory mode = 2775
force group = accounts_dept
revalidate = no
write list = @accounts_dept
where as @accounts_dept has rights with rwx as follows
drwxrws--T+ 6 root accounts_dept 4096 Jul 7 14:26 accounts_share
i also issued following command for acl after which users were able to write in others files (except ms office files)
setfacl -R -m d:g:accounts_
two users user1 and user2 belongs to @accounts_dept, they are able to read write each other files but ms office files can't be modified by user2 while created by user1 and vice versa .
please note both users are also windows NT domain controller users.