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

//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

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

I don't see anything wrong with that; what were you expecting it to show?

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).

From man mount.cifs:

       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...