Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

richard.mac

macrumors 603
Original poster
Feb 2, 2007
6,292
5
51.50024, -0.12662
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.
 
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--------- .
 
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.
 
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 -l /private/etc/cups
give you? …

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

… EDIT: Just checked mine and I haven't done the update. The cups directory should be in group _lp which is number 26 in /etc/groups. Looks like yours in in wheel which is 0.

You can change this with chown:

Code:
 sudo chown root:_lp cups/

after this command i still get as above
 
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/
 
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

forgot to try this command… it works! thanks!

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:_lp /private/etc/cups/

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
 
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?
 
^ 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
 
^ 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

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.
 
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
 
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?

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.
 
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.
 
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:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.