Re: CIFS mount not writable to normal users (518 Views)
Reply
Valued Contributor
Posts: 342
Registered: ‎12-06-2002
Message 1 of 6 (518 Views)
Accepted Solution

CIFS mount not writable to normal users

I have setup CIFS client on HP-UX 11i Version 1. I am able to mount my windows share and read or write to it with no problems as long as I am a root user. The permissions on the directory before the CIFS mount is 777. So I have two questions. I have tried to do a cifslogin for a specific user and it kind of works. I can update a files in a subdirectory of the mount but not directly under the mount point .

1) Why cannot a normal user update files in this CIFS mount point?

2) I do not want to have to use cifslogin for all my users, so how do I make this mount point wide open for everyone?

Any help would be greatly appreciated!

Tim
Honored Contributor
Posts: 542
Registered: ‎07-21-2007
Message 2 of 6 (518 Views)

Re: CIFS mount not writable to normal users

Hi Timothy,
I am also using cifsclient. But still now i also didnt find the option to make cifslogin to all user.
I did it through script to make cifslogin.

Thanks & Regards

Aashique
Valued Contributor
Posts: 342
Registered: ‎12-06-2002
Message 3 of 6 (518 Views)

Re: CIFS mount not writable to normal users

Thanks for the response Ashique,

I to have scripted the this but that means that I have to maintain the cifsusers file and this will be a problem. Even then it still doesn't work 100%

Tim
Highlighted
Trusted Contributor
Posts: 137
Registered: ‎11-26-2002
Message 4 of 6 (518 Views)

Re: CIFS mount not writable to normal users

To avoid requiring all your users to do cifslogin, you enable the "guest user" feature. This is explained in the CIFS Client Admin Guide, which you can find under "I/O Cards and Networking Software" at docs.hp.com.

-Eric
Valued Contributor
Posts: 342
Registered: ‎12-06-2002
Message 5 of 6 (518 Views)

Re: CIFS mount not writable to normal users

Thanks Eric,

This is what I needed.

I was running an old version of CIFS client and my documentation was not very good either. So I update to CIFS client 2.02 and reviewed the new documentation and it all makes sense now.

Thanks again!

Tim
Advisor
Posts: 27
Registered: ‎01-17-2008
Message 6 of 6 (518 Views)

Re: CIFS mount not writable to normal users

I know this is a dead thread, but I hope this helps someone looking for a solution to let users access the filesystem mounted using cifsmount

cifsmount //server/dir /localmount -U Username -P password -s

cifslogin server username -P password
su - nonrootuser -c "cifslogin server username -P password"

cifslist -A
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.