Issue with mounts CIFS | Unix Linux Forums | Red Hat

  Go Back    

Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Issue with mounts CIFS

Red Hat

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 02-15-2013
Tirmazi's Avatar
Tirmazi Tirmazi is offline
Registered User
Join Date: Apr 2008
Last Activity: 20 February 2013, 4:03 PM EST
Location: Maryland, USA
Posts: 82
Thanks: 26
Thanked 1 Time in 1 Post
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
Sponsored Links
Old 03-08-2013
verdepollo's Avatar
verdepollo verdepollo is offline
Registered User
Join Date: Mar 2010
Last Activity: 2 January 2015, 8:32 PM EST
Location: Mexico
Posts: 725
Thanks: 11
Thanked 106 Times in 102 Posts
Originally Posted by Tirmazi View Post
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?

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).
Sponsored Links
Old 03-08-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 26 February 2015, 5:54 PM EST
Location: Saskatchewan
Posts: 20,335
Thanks: 868
Thanked 3,563 Times in 3,328 Posts
From man mount.cifs:

           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...
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cifs.upcall issue, requests new kerberos service ticket all the time thmnetwork Linux 0 04-10-2012 04:58 PM
How to check NAS mounts being used ? greencored Solaris 1 09-17-2010 08:03 PM
Mounts krisdasword UNIX for Dummies Questions & Answers 1 06-23-2008 01:54 AM
Combining Mounts seemit AIX 0 06-19-2008 06:31 PM
new mounts rags_s11 Solaris 3 06-15-2008 07:40 AM

All times are GMT -4. The time now is 09:07 AM.