Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm getting "access denied" with one particular samba 4 home directory NFS share. But only with Microsoft Word, Excel and PowerPoint. If I edit an RTF file in wordpad or notepad and save it back to the samba home share it works. But I get "access denied" if I'm using Word.
On the same NFS mount point I have several Samba shares. Lets call them
1. Share1
2. Public1
3. Home1
This mount point is on my Samba DC. And Samba resends the shares to the Windows clients.
For Share1 and Public1, I can successfully edit a word file and save it back to the share without problem. But on Home1, if I try and edit a word doc and save it back, I get access denied. But as I mentioned above, if I edit an RTF with wordpad or notepad I can edit it and save it back to Home1 without gettihg access denied. The problem only exists with MS Office apps.
The NFS mount is coming from a Debian server. It happens to be a proxmox 5.1-46 64 bit distribution. But the NFS mount comes from the underlying debian layer and not a proxmox VM nor a container.
The Samba DC mounting the debian NFS share is a 64 bit CentOs 6.5 (2.6.32-431.3.1.el6.x86_64). The Samba DC resides on this CentOS 6.5 server.
Note that the NFS share used to be served up by an even older CentOS 5.10 NFS server. I moved the entire terabyte share from the old CentOS 5 server to the newer proxmox 5 (debian) server. And this is when the problem started happening that I can no longer write to the Home1 directory.
I did see discussion on lists about trying "oplocks=no" and
"posix locking=no" in my smb.conf but that didn't help.
Here is part of my smb.conf file:
[global]
workgroup = ABC
realm = ABC.ORG
netbios name = SAMBA1
server role = active directory domain controller
dns forwarder = 192.168.14.254
guest ok = yes
security = user
logon drive = H:
log file = /var/log/samba/%m.log
printcap name = /etc/printcap
[home]
comment = Home Directories
path = /usr/data/Users
writeable = yes
use sendfile = no
#oplocks = no
#posix locking = no
[public1]
comment = All Users
path = /usr/data/public
writeable = yes
#guest ok = yes
admin users = @users
force group = users
create mask = 0660
directory mask = 0771
browseable = yes
use sendfile = yes
[Share1]
comment = Common Users
path = /usr/data/private/Shared1Files
writeable = yes
admin users = deang
valid users = deang
create mask = 0660
directory mask = 0771
My mount points for the old CentOS 5 server and my newer proxmox 5 server are in the CentOS 6 Samba server:
I went ahead and posted my problem to the Samba list. The answer I got back was that using NFS in the manner I was is considered "unreliable". I'll setup Samba on my proxmox server and deliver shares directly to the clients instead of using NFS. -- Dean
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.