Operating System - HP-UX
1832803 Members
3440 Online
110045 Solutions
New Discussion

CIFS CLIENT MOUNT NOT accessible : Permission denied error

 
Akram Shaik
Frequent Advisor

CIFS CLIENT MOUNT NOT accessible : Permission denied error

Hi all,

I am accessing a windows share on a UNIX mount point. Everything goes well until I mount the the Windows /PPR/BS/PSI/dat File system,

bdf: /pub/development/atgdata/dvlatg36/egl/egl_psi: Permission denied

cifslist shows that the FS is mounted,

$ cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------------------------
\\JANBEBESVC49\PPR\BS\PSI\DAT /pub/development/atgdata/dvlatg36/e M


Kindly help out .

Thanks to all

Regards,
Akram
when everyting is coming your way then you are in the wrong lane
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: CIFS CLIENT MOUNT NOT accessible : Permission denied error

Shalom Akram,

Radical idea here.

Check the permissions on the share on the Unix box.

ll -d the directory being mounted.

If its owned by root and others can't write to it, this would explain the error.

Also the samba.log file on the Unix host would complain about this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Akram Shaik
Frequent Advisor

Re: CIFS CLIENT MOUNT NOT accessible : Permission denied error

Hi Steven,

When FS is mounted ,

ll -d /pub/development/atgdata/dvlatg36/egl/egl_psi
/pub/development/atgdata/dvlatg36/egl/egl_psi not found

I have already changed permissions of the directory,
After I umount
drwxr-x--- 2 dvlatg1 users 4096 Oct 25 17:31 /pub/development/atgdata/dvlatg36/egl/egl_psi


After I mount the directory it is not visible at all,

One thin I noticed in cifs debug file

server: srvConnect server=janbebeiis02, connectTimeout=0, requestTimeout=0
server: srvConnect server=janbegefps01, connectTimeout=0, requestTimeout=0
srvConnect server=janbebesvc49, connectTimeout=5000, requestTimeout=60000

the windows mount with which I am having problems is the third line where time outs are 5000,60000 the others with 0.

Is this aomething to notice about?

Thanks again for all
when everyting is coming your way then you are in the wrong lane
eric roseme
Respected Contributor

Re: CIFS CLIENT MOUNT NOT accessible : Permission denied error

You might not be authenticated. If not, then do a "man cifslogin" and authenticate for the share. You'll need a user/password for the Windows server that the share is on. Or you can modify your mount command:

mount -F cifs -o username=akram,password=cifsrules winserver:/sharename /hpux_mount

Eric Roseme
Hewlett-Packard
Akram Shaik
Frequent Advisor

Re: CIFS CLIENT MOUNT NOT accessible : Permission denied error

Hi Eric,

Back to work today ...

I tried your suggestion,

mount -F cifs -o username=dvlatg1,password=XXXXX janbebesvc49:/PPR/BS/PSI/dat /pub/development/atgdata/dvlatg36/egl/egl_psi
DOS: Share not exported by server

Something wrong on the WINS side ??

Thanks for all again ..


Regards,

Akram

when everyting is coming your way then you are in the wrong lane
Akram Shaik
Frequent Advisor

Re: CIFS CLIENT MOUNT NOT accessible : Permission denied error

Hi all,

The problem is solved ,

Silly it sounds .

The windows Share was \PPR\ and not \PPR\BS\PSI\DAT

It worked with /PPR as the windows share.

when everyting is coming your way then you are in the wrong lane