[Samba] Ubuntu Jaunty samba 3.3.2 print$ no write rights even though I do;-)

Ray Anderson rsa at rb-com.com
Fri Jul 3 13:03:38 GMT 2009


Glenn T. Arnold wrote:
> Harry, 
> 
> You did give me an idea though. For grins I just set rights to 0777 even on the extended acls and I still get access denied when trying to upload print drivers. Here is the updated rights on /var/lib/samba/printers. 

Harry,

Check your apparmor setttings:

/etc/apparmor.d/abstractions/samba

Mine looks like this:

abstractions/samba:2:  /etc/samba/smb.conf r,
abstractions/samba:3:  /usr/share/samba/*.dat mr,
abstractions/samba:4:  /var/lib/samba/**.tdb mrw,
abstractions/samba:5:  /var/log/samba/cores/* w,
abstractions/samba:6:  /var/log/samba/log.* w,
abstractions/samba:7:  /var/run/samba/*.tdb mrw,

Seems you'd need to add /var/lib/samba/printers/* mrw or similar.

Ray




More information about the samba mailing list