[Samba] "CREATOR OWNER" with samba

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 1 17:55:26 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joris De Pooter wrote:

| It's me again,
|
| Today, I saw one of my user couldn't delete its own print job.
| I think there's a problem with unix access rights, because
| from my linux  box as root I was able to delete that job
| with lprm command.
|
| Here's a truncated listing of my /var/spool/cups directory :
|
| -rw-------  1 root lp   630 Aug  1 17:26 c13354
| -rw-r-----  1 root lp 38346 Aug  1 17:22 d13352-001
|
| As you can see, the job d13352-001 is owned by root:lp
| although my user is logged (with winbind) as tartenpion.
| Is this the reason why my user tartenpion can't delete his
| own job ? I think this is strange, and moreover Cups is
| setup to run as lp:lp
|
| What's the good way to fix this ?
| Thanks for any help, cheers !

Newer versions of Samba should run the lprm command as root
if you pass the print_access_check().  Have you tested
the 3.0.14a release?  I don't remember when I fixed that bug.






cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7mINIR7qMdg1EfYRAscZAJ9UGLDmkswvmTzQmxc/Tpv0bxifwgCgg5Uo
Z4+Lgb/Ezeh0/E2nzDNRnMs=
=28dV
-----END PGP SIGNATURE-----



More information about the samba mailing list