Permission problems with Cifs in RHEL 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

My company has a server running an old Samba 2.2.1. I mounted the drive in
fstab with this command:
//testserver/rd    /mnt/drv_k    cifs
uid=531,gid=499,guest,file_mode=0775,dir_mode=0775

The server is on a closed network, no restructions on permissions are
present. 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
total 8
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.3.
It also has no need for permission restrctions. I can read/write/whatever on
this server. I am starting to wonder if Samba 2.2.1 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 trying to do a simple fix without taking
down the server and upgrading Samba and the OS.

Any thoughts or ideas on why this is happening and what to do is asked.
Also if anyone knows where I can get pam-devel-0.68-10, please tell.

--
Thanks for your time.
-Swiftmind
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux