Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page Cifs and Samba permission conflict in RHEL 5
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 07-17-2007   #1 (permalink)
Swiftmind
Just Joined!
 
Join Date: Jul 2007
Posts: 3
Cifs and Samba permission conflict in RHEL 5

Hello.

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
_mode=0775,dir_mode=0775

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
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.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.
Swiftmind is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux Networking 13 06-27-2007 09:50 AM
Here is a good article about Setting up Samba in KDE! skyfolly Linux Newbie 20 09-20-2003 08:34 PM




All times are GMT. The time now is 09:08 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0