should be 0, group is 26

Discussion in 'macOS' started by richard.mac, Jun 4, 2008.

  1. richard.mac macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #1
    just updated to 10.5.3 and i now get this when repairing permissions. i know to ignore SUID warnings but this is different.

    Code:
    Group differs on "private/etc/cups", should be 0, group is 26.
    how do i change cups to 0?… i have some experience with Unix thru Macs and Uni but im not 100% sure how to change the permissions of this file.
     
  2. richard.mac thread starter macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #2
    ok i just tried

    Code:
    sudo chmod 0 /private/etc/cups
    but now i get this error after repairing permissions

    Code:
    Permissions differ on "private/etc/cups", should be drwxr-xr-x , they are d--------- .
     
  3. psychofreak Retired

    psychofreak

    Joined:
    May 16, 2006
    Location:
    London
  4. sreedy macrumors 6502a

    Joined:
    Feb 24, 2005
    Location:
    Somerset
    #4
    chmod 0 removes all the permissions, not just at the group level. To put that back to drwxr-xr-x you can do:

    Code:
    sudo chmod 755 /private/etc/cups
    Is the original issue which group cups is in rather than the group permissions? I'll have a look at mine but what does
    Code:
    ls -ld /private/etc/cups 
    give you?

    EDIT: The cups directory should be in group wheel which is number 0 in /etc/groups. Looks like yours in in _lp which is 26.

    You can change this with chown.
     
  5. richard.mac thread starter macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #5
    Code:
    -rw-r--r--  1 root  _lp    2107 14 Jan 06:10 apple.convs
    -rw-r--r--  1 root  _lp    2997 27 Sep  2007 apple.types
    -rw-------  1 root  _lp      82  7 Jan 01:59 classes.conf
    -rw-r--r--  1 root  _lp    1829  4 Mar 16:19 cupsd.conf
    -rw-r--r--  1 root  _lp    1760 28 Dec 18:24 cupsd.conf.O
    -rw-r--r--  1 root  _lp    2614 29 Sep  2007 cupsd.conf.default
    drwxr-xr-x  2 root  _lp      68 29 Sep  2007 interfaces
    -rw-r--r--  1 root  _lp      26  4 Mar 15:48 lpoptions
    -rw-r--r--  1 root  wheel  4528 30 Mar 10:45 mime.convs
    -rw-r--r--  1 root  wheel  6298 30 Mar 10:45 mime.types
    drwxr-xr-x  3 root  _lp     102  4 Mar 22:24 ppd
    -rw-------  1 root  _lp     383  1 Jun 14:20 printers.conf
    -rw-------  1 root  _lp     383  1 Jun 14:18 printers.conf.O
    -rw-r--r--  1 root  _lp     172  5 Jan 10:55 snmp.conf
    
    after this command i still get as above
     
  6. sreedy macrumors 6502a

    Joined:
    Feb 24, 2005
    Location:
    Somerset
    #6
    sorry I meant

    ls -ld /private/etc/cups

    Which error are you seeing?

    (a) Group differs on "private/etc/cups", should be 0, group is 26.

    or (b) Permissions differ on "private/etc/cups", should be drwxr-xr-x , they are d--------- .

    I probably should have full qualified the path in the chown command:

    sudo chown root:wheel /private/etc/cups/
     
  7. richard.mac thread starter macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #7
    forgot to try this command… it works! thanks!

    i was getting (a) to start off with, then (b) after "sudo chmod 0 /private/etc/cups", then (a) again after "sudo chown root:_lp cups/", then no error after "sudo chmod 755 /private/etc/cups"

    CONFUSING! :eek:

    heres the output for "ls -ld /private/etc/cups" now

    Code:
    drwxr-xr-x  16 root  wheel  544  3 Jun 19:57 /private/etc/cups
     
  8. marcre macrumors regular

    marcre

    Joined:
    Jan 15, 2008
    Location:
    East coast
    #8
    I'm getting the same thing every time I repair permissions. Were you having any problems with your mac because of this? The only thing that seems to not be working is my purchased content from iTunes. I read this thread, but it is a little beyond me. Is there an easier fix?
     
  9. richard.mac thread starter macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #9
    ^ this wouldnt affect your iTunes purchases so im not sure whats wrong there. im not having any problems on my Mac im just finicky about little errors like this.

    the error detail has come back now so the command that i said worked above didnt work. anyone care to help? thanks
     
  10. marcre macrumors regular

    marcre

    Joined:
    Jan 15, 2008
    Location:
    East coast
    #10
    Thanks for the reply.

    I did some searching on the net and I believe this has to do with printing, but all those affected did not have any problems with printing. I'm may just need to call apple care for my iTunes problem.
     
  11. zayatf macrumors newbie

    Joined:
    Jun 15, 2008
    #11
    Dear all,
    i have the same problem, i didn't fix it last now coz i need more teach
    of terminal, to fix this bug.

    Can any one help?

    thanks,,
    Zayatf
     
  12. scaredpoet macrumors 604

    scaredpoet

    Joined:
    Apr 6, 2007
    #12
    I'm also seeing this on permissions repair on my Macs, though I haven't found any actual problems with it yet.

    Cups is the Common Unix Printing System, the software that handles printer functions on the Mac (and of course, other UNIX systems). So it shouldn't affect iTunes. If anything, you'd see problems with your printer if this was an issue.
     
  13. zayatf macrumors newbie

    Joined:
    Jun 15, 2008
  14. mallchin macrumors newbie

    Joined:
    Jul 12, 2008
    #14
    I just fell upon this thread after Googling for the permissions problem on /etc/cups ...

    My /etc/cups is owned by _lp group too, not root as it should be.

    I also see a lot of other groups prepended with underscores such as _clamav. Where do these groups come from? Is this normal? I'm new to Mac but seems strange I should have a clamav group when it isn't part of OS X.

    BTW CUPS is indeed a unix printing daemon, and ClamAV is Clam AntiVirus.
     
  15. rpaloalto macrumors 6502a

    rpaloalto

    Joined:
    Sep 19, 2005
    Location:
    Palo Alto CA.
    #15
    I get the same thing
    Group differs on "private/etc/cups", should be 0, group is 26.
    Running 10.5.3

    Just got my new Mac Pro 2008 a few weeks ago. I always do a clean erase and install. With any new computer I get. As soon as I was finnished, with all updates. I went to repair permissions
    (Group differs on "private/etc/cups", should be 0, group is 26.)

    I also did a seprate install of 10.5 on my second hard drive.
    This Was a custom install. With all extras left out, Including all printer drivers.
    And still this permission error is their.
    :confused::mad:
     

Share This Page