[Samba] Intermittent Samba Problem
Steve Tempest
Steve.Tempest at gts.apn.com.au
Wed Feb 10 17:46:55 MST 2010
Hi,
I'm having a strange problem where users get permission denied on folder
in public shares.
On the windows xp machine you can see the folder when browsing the smb
share except that it has no attribute information. If I double click on
the folder it says Access is Denied.
On the samba server "process1" I can list the directory and also the
contents of the folder and it appears that the files system is working
correctly.
[asx at process1 ad_build]$ ls -la
drwxrwxrwx 3 asx asx 4096 Feb 11 09:19 2953730af
drwxrwxrwx 2 asx asx 4096 Feb 11 09:43 2967365ala
drwxrwxrwx 3 asx asx 4096 Feb 11 09:20 2971033ac
I have mounted the share on a different server and can see the corrupt
permissions there also. If I try and do anything from console to this
folder I get a file/folder not found error.
[root at web02 ad_build]# ls -la
drwxrwxrwx 3 asx asx 0 Feb 11 09:19 2953730af
?--------- ? ? ? ? ? 2967365ala
drwxrwxrwx 3 asx asx 0 Feb 11 09:20 2971033ac
I have tried moving the folder from one name to another via console on
the "process1" server and the folder get's the same problem but shows a
new name.
We are running centos 5.1 x64 v 2.6.18-53.1.21.el5 on the process1
server and version 3.0.32-SerNet-RedHat of samba.
The ad_build folder is the share root and it's used as part of a
workflow where perl scripts are regularly adding and removing folders
from this location.
We've had this problem now for quite some time and never been able to
get to the bottom of it. Any suggestions on where I can look for answers
would be appreciated.
Thanks
Steve
Testparam output:
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = APNAU
netbios name = ASXPLUSIO
server string = ASXIO
interfaces = 192.168.214.62/24
security = SHARE
guest account = asx
printcap name = /etc/printcap
kernel oplocks = No
ldap ssl = no
notify:inotify = false
force create mode = 0666
force directory mode = 0777
kernel change notify = No
hide files = /.profile/
[data1]
comment = Asxplus Data1
path = /data1
read only = No
guest ok = Yes
[ad_build]
comment = Ad Building
path = /data3/workingdirs/ad_build
read only = No
guest ok = Yes
hosts allow = 192.168.211.0/255.255.255.0,
192.168.212.0/255.255.255.0, 192.168.213.0/255.255.255.0,
192.168.214.0/255.255.255.0, 192.168.215.0/255.255.255.0,
192.168.182.0/255.255.255.0, 192.168.97.0/255.255.255.0
Notice
This email and any attachments are strictly confidential and subject to copyright. They may
contain privileged information. If you are not the intended recipient please delete the message
and notify the sender. You should not read, copy, use, change, alter or disclose this email or
its attachments without authorisation. The company and any related or associated companies do
not accept any liability in connection with this email and any attachments including in connection
with computer viruses, data corruption, delay, interruption, unauthorised access or unauthorised
amendment. Any views expressed in this email and any attachments do not necessarily reflect the
views of the company or the views of any of our related or associated companies.
More information about the samba
mailing list