Benches macOS

14

Permissions Repair: Warning SUID file iss…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Greetings,

I have been having a sleep issue and an occasional error message that said the Time Machine backup could not be completed so I ran disk utility to repair permissions and this is what it said;

+Verify permissions for “Macintosh HD”+

+Permissions differ on "sbin/restore", should be -r-xr-xr-x , they are -r-sr-sr-x .+

+Warning: SUID file "sbin/restore" has been modified and will not be repaired.+

+Permissions differ on "sbin/rrestore", should be -r-xr-xr-x , they are -r-sr-sr-x .+

+Warning: SUID file "sbin/rrestore" has been modified and will not be repaired.+

+Permissions differ on "sbin/mount_smbfs", should be -r-xr-xr-x , they are -r-sr-xr-x .+

+Warning: SUID file "sbin/mount_smbfs" has been modified and will not be repaired.+

+Permissions differ on "usr/bin/smbutil", should be -r-xr-xr-x , they are -r-sr-xr-x .+

+Warning: SUID file "usr/bin/smbutil" has been modified and will not be repaired.+

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

+Permissions verification complete+

Any ideas?

Thanks in advance - Scrags

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sorry, my fault, didn't copy the paths correctly.

    use this one.

    sudo chmod -s /sbin/mount_smbfs /usr/bin/smbutil

    \

    if you run repair permissions afterwards, those SUID errors will be gone.

  2. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    you have some strange SUID warnings there. I wonder how those files managed to acquire s-bits. This has absolutely nothing to do with your sleep issue but you can get rid of the SUID warnings by running the following terminal command form an admin account:

    sudo chmod -s /sbin/restore /sbin/rrestore /bin/mount_smbfs /sr/bin/smbutil

    Just copy and paste the above into a terminal window and press enter.

    You'll have to enter your admin password which you won't see. that's normal.

  3. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    V.K.,

    I'll give that a try. What is an SUID warning?

    -Scrags

  4. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have never used Terminal before. It said this when I copied your text and pressed enter;

    +WARNING: Improper use of the sudo command could lead to data loss+

    +or the deletion of important system files. Please double-check your+

    +typing when using sudo. Type "man sudo" for more information.+

    +To proceed, enter your password, or type Ctrl-C to abort.+

    -Scrags

  5. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    it means that those files have set user id bits which shouldn't be there according to the permissions database. an s-bit makes a command run with the user id of the file for that command rather than the user invoking the command. for example, if you invoke unix
    restore command from terminal it ought to run as you. however, on your system it would run as root because the file /sbin/restore used to call this command is owned by root and has a user s-bit on it.

    as i said this has nothing to do with your sleep issues but you might as well fix it.

  6. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    that's normal. you always get this warning the first time you use sudo.

  7. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Here is what it said;

    +chmod: /bin/mount_smbfs: No such file or directory+

    +chmod: /sr/bin/smbutil: No such file or directory+

    -Scrags

  8. 0

    lakewoodlawnman

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The last time I had issues like that, I downloaded the Combo update and ran that and it fixed my problems.

    Did you just use Software Update?

  9. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This is the last time I had software updates;

    +2008-06-11 19:25:41 -0400: Installed "QuickTime" (7.5)+

    +2008-06-11 19:26:00 -0400: Installed "AirPort Utility" (5.3.2)+

  10. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sorry, my fault, didn't copy the paths correctly.

    use this one.

    sudo chmod -s /sbin/mount_smbfs /usr/bin/smbutil

    \

    if you run repair permissions afterwards, those SUID errors will be gone.

  11. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Okay, I used the new text, repaired permissions and got this;

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

  12. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    this one is unfixable and every single 10.5.3 user has it. it's harmless. leave it alone.

  13. 0

    Scrags

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Really? Everyone with 10.5.3 has it? Hmmm, interesting. I'll leave it be...

    Thanks for the help V.K.!

    -Scrags

  14. 0

    z-dog

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for this post. I have the same 2 and it was starting to concern me.

    Glad this was out there before I started a new thread;)

    Z