Operating System - HP-UX
1821399 Members
3022 Online
109633 Solutions
New Discussion юеВ

Samba again - Permission denied error

 
SOLVED
Go to solution
Akram Shaik
Frequent Advisor

Samba again - Permission denied error

Dear,

I have Samba share [pp2] which is accessed by a netbios name.

I add another share [ppc] and all settings are same as pp2 but it gives a permission denied error...


I got the logs from the debug file

[2007/10/31 16:48:56, 0] smbd/service.c:make_connection_snum(660)
'/export/ppc/data' does not exist or permission denied when connecting to [ppc] Error was Permission denied
[2007/10/31 16:48:56, 3] smbd/sec_ctx.c:set_sec_ctx(287)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/10/31 16:48:56, 3] smbd/connection.c:yield_connection(69)
Yielding connection to ppc


CAn anybody help out ..

Thanks all

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

Re: Samba again - Permission denied error

Shalom,

Check the ownership and group id on the folder being shared.

Also check the ownership ( ls -la ) on all files within.

You may see an inconsistency.

Also /etc/opt/samba/smb.conf may have owner:gropu restrictions on the shares that may cause this issue.

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: Samba again - Permission denied error

Hi,

Yes the permissions are different but there are no owner:group parameters set in the smb.conf file..

I tried to set up a similar share as in pp2 with same permissions and it worked.

I will ask the apps team to try changing the permissions as I cannot change the permissions right away..


Will let you know results once done

Thanks Steve,

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