Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2007
Cifs and Samba permission conflict in RHEL 5
My company has a server running an old Samba 2.0.7, which is from around 1999/2000. I mounted the drive in fstab with this command:
//testserver/rd /mnt/drv_k cifs uid=531,gid=499,guest,file
The server is on a closed network, all users have full permissions. Anyone should be able to read/write/whatever.
The drive mounts without error. I can browse the drive but I can not write to it or open anything from it. For instance:
[ecaron@localhost mnt]$ cd drv_k
[ecaron@localhost drv_k]$ ls -al
drwxrwxr-x 10 ecaron rd 0 Apr 30 13:15 .
drwxr-xr-x 10 root root 4096 Jul 5 09:46 ..
drwxrwxr-x 1 ecaron rd 0 Feb 27 1999 BADFPC
drwxrwxr-x 1 ecaron rd 0 Apr 19 2000 FPC
drwxrwxr-x 20 ecaron rd 0 Jun 29 2004 FTPU
drwxrwxr-x 1 ecaron rd 0 Jan 17 2000 lost+found
drwxrwxr-x 1 ecaron rd 0 Nov 22 1999 TCOM
drwxrwxr-x 1 ecaron rd 0 Jan 22 11:17 TEMP
drwxrwxr-x 1 ecaron rd 0 Aug 17 2004 .Trash-ipaine
drwxrwxr-x 1 ecaron rd 0 Jul 16 15:01 .Trash-lthyagarajan
[ecaron@localhost drv_k]$ echo testing > test.txt
bash: test.txt: Permission denied
[ecaron@localhost drv_k]$ cd FTPU/DOCS
[ecaron@localhost DOCS]$ cat FTPU.TXT
cat: FTPU.TXT: Permission denied
There is another server running a slightly newer version of Samba, 2.2.1a. It also has no need for permission restrictions. I can read/write/whatever on this server.
I have done extensive searching for a solution and so far nothing works. I seen many people do simple things such as make uid/gid the same, disabled LinuxExtension, add options such as nosetuid or noperm, using IP address inplace of testserver; nothing works.
I am starting to wonder if Samba 2.0.7 can not support the cifs coming from my RHEL 5. I have kernel 2.6.18-8.el5 with cifs version 1.10 and samba rpm samba-3.0.23c-2. We are looking for a simple fix but it seems that we may need to finally upgrade this server.
Does anyone know why I am being denied read/write access? Furthermore does anyone know how to fix this in a simple way besides trying to upgrade the server?
Thanks for your time.