Issue with mounts CIFS

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Issue with mounts CIFS
# 1  
Old 02-15-2013
Issue with mounts CIFS

I donot know much about CIFS but i have been asked to look into an issue related to mounting CIFS filesystem

On my redhat 5.6 the /etc/fstab file has the following entry

HTML Code:
//172.25.x.x/de0/ /dir1/de0 cifs username=bodsadm,password=12345,dir_mode=0777,file_mode=0777,uid=de0adm,gid=sapsys,rw 0 0
But when the directory is listed it appears as
HTML Code:
dr-xr-xr-x 1 de0adm sapsys 28672 Feb 15 14:15 /dir1/de0
Secondly when i su as de0adm and cd to /dir1/de0 it does not allow me to create a file in this directory. It complains with "permission denied"

Any suggestions will be appreciated
# 2  
Old 03-08-2013
Quote:
Originally Posted by Tirmazi
But when the directory is listed it appears as
HTML Code:
dr-xr-xr-x 1 de0adm sapsys 28672 Feb 15 14:15 /dir1/de0
I don't see anything wrong with that; what were you expecting it to show?

Quote:
It complains with "permission denied"
Of course it does, the directory doesn't have write permissions.

Try adding "noperm" to the mount options or use ACLs (cifsacl).

You might as well verify the permissions in the source server (172.25.x.x).
# 3  
Old 03-08-2013
From man mount.cifs:

Code:
       dir_mode=arg
           If the server does not support the CIFS Unix extensions this
           overrides the default mode for directories.

Perhaps the target does support the CIFS unix extensions...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

NFS mounts not automounting on boot

I have several Solaris 11.2 zones. when I reboot them I have to go in and do mountall to mount the NFS mounts. any ideas where to troubleshoot why they are not automounting? (2 Replies)
Discussion started by: os2mac
2 Replies

2. Red Hat

NFS mounts query

We have 2 servers in cluster. Node1 has an ext3 mount for backups and the other connects using NFS to this node1. I believe the reason it is configured in this manner is to not duplicate backups since this is a Database server. Not sure this was the reason though. Right now if node1 goes down all... (5 Replies)
Discussion started by: ikn3
5 Replies

3. UNIX for Advanced & Expert Users

Clone mounts as is

Hello, Iam trying to clone AS IS two mounts like below /class_test/sa /class_dev/fd from one server onto another. I want to use tar and gzip to compress. Please let me know the options I have to use. Also I want to untar it in the destination server, so let me know how to do... (3 Replies)
Discussion started by: baanprog
3 Replies

4. Linux

cifs.upcall issue, requests new kerberos service ticket all the time

This is more of an annoyance than an actual production issue. I've set it up so that each user's home directory is mounted to an immediate subdirectory of $HOME when they login, (and umounts when they log out to keep /proc/mounts a manageable size). My issue comes in when my login scripts... (0 Replies)
Discussion started by: thmnetwork
0 Replies

5. Solaris

How to check NAS mounts being used ?

Hi, How can i check if a particular Netapps NAS share being used on some other servers - ie: being accessed, mounted? example: somedir - rw, intr servernetapp.net.com:/vol/vol100/somedir is being mounted on some filesystem on other server. is it possible to check on the NIS? (1 Reply)
Discussion started by: greencored
1 Replies

6. UNIX for Dummies Questions & Answers

/ file system mounts as read only

I have a Netra T1 server running Solaris 8, It was installed by jump start, it does not have a cdrom drive. Recetly it crashed so I rebooted it from >LOM poweron and it came to run level 3, all file systems listed in /etc/vfstab are mounted, but /dev and / root are not writeable though in... (3 Replies)
Discussion started by: Tirmazi
3 Replies

7. UNIX for Dummies Questions & Answers

Mounts

Hi, I'm new to Linux and to this forum too. Now, I need some info. I have an application which writes some data onto one mount(logs and others). Now, I want to have some convention or script where if the mount(where the application is writing data) reaches certain amount of memory or if it... (1 Reply)
Discussion started by: krisdasword
1 Replies

8. AIX

Combining Mounts

I have 2 mounts with me. Each 200 Gigs. I have some heavy duty processing, that may require more than 200 Gigs at time. Is there anyway that I can make the two points a clubbed up directory. Or create a symbolic link (bleahhh). Here are factors: 1. two mounts are two different hard drives. (just... (0 Replies)
Discussion started by: seemit
0 Replies

9. Solaris

new mounts

hi, i have currently below mounts in solaris box and i want to create new mount points. please let me know how can i do it? bash-3.00# df -h Filesystem size used avail capacity Mounted on / 1000M 350M 609M 37% / /dev 1000M 350M ... (3 Replies)
Discussion started by: rags_s11
3 Replies

10. UNIX for Dummies Questions & Answers

Unix Stale Mounts

Is there an easy way to find all stale mounts on a system? (2 Replies)
Discussion started by: derf912
2 Replies
Login or Register to Ask a Question