Operating System - HP-UX
1834598 Members
3884 Online
110069 Solutions
New Discussion

CIFS Share and Permissions

 
Scott Frye_1
Super Advisor

CIFS Share and Permissions

We have set up a CIFS share on our HP-UX 11.i (client) box to a Windows 2000 box (server). As root, I can access the share with no problem. Permissions appear to be set as 777. Logging in as a user is different. I see the share in a bdf, but if I cd to / and ll, I can't see the share. Also, I can not cd to the share. Why would this be if the permissinos are 777? What can I do to fix this?

Thanks

Scott
8 REPLIES 8
Stf
Esteemed Contributor

Re: CIFS Share and Permissions

Hello,

What is the owner and group of your share :

# ls -l

Stf ;-)
Scott Frye_1
Super Advisor

Re: CIFS Share and Permissions

drwxrwxrwx 2 root sys 131072 Dec 13 07:59 imaging
Stf
Esteemed Contributor

Re: CIFS Share and Permissions

OK for testing try to create a user that is in sys group and then try to access with this user to the share...

Stf ;-)
Scott Frye_1
Super Advisor

Re: CIFS Share and Permissions

Created user in sys group. Can't see share in ll
drwxr-xr-x 132 root root 3072 Sep 16 10:33 home
-rw-r--r-- 1 root sys 2221 Mar 24 2004 iodsk.txt

Tried to cd to /imaging and received
su: /imaging: Permission denied.
Stf
Esteemed Contributor

Re: CIFS Share and Permissions

OK look at this link, setction: NOTE ABOUT USERNAME/PASSWORD VALIDATION

http://www.samba.org/samba/docs/man/smb.conf.5.html

For me it seems to be a share permissions right...

Stf ;-)
Scott Frye_1
Super Advisor

Re: CIFS Share and Permissions

I'm attaching my smb.conf file for anyone to help me look at to see what I need to modify. Any help will be appreciated as this is my first go at CIFS shares.

Thanks.

Scott
Scott Frye_1
Super Advisor

Re: CIFS Share and Permissions

I have tried using 'directory mask' and 'create mask' but neither have any affect. Any other suggestions?
Scott Frye_1
Super Advisor

Re: CIFS Share and Permissions

My solution was simple. All I needed to do was a cifslogin for each Unix user that needed access to the share.