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.+
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.
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:
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.
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
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
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.
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.
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
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?
0
Scrags·
Imported from the Apple Support Forums via the Wayback Machine 🔗