Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Permission problems with Cifs in RHEL 5

Permission problems with Cifs in RHEL 5

2007-07-16       - By Swiftmind

 Back
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@(protected) mnt]$ cd drv_k
[ecaron@(protected) 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@(protected) drv_k]$ echo testing > test.txt
bash: test.txt: Permission denied
[ecaron@(protected) drv_k]$ cd FTPU/DOCS
[ecaron@(protected) 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 (See http://mba-3.ora-code.com).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 (See http://vel-0.ora-code.com).68-10, please tell.

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