[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Restoring sticky bits after accidentally moving /usr directory



I goofed up and accidentally moved my /usr directory while trying to make room on a full drive. I was able to recover, but I'm finding that services are not working because the sticky bits for many files /usr/bin/* were lost. For example, I can't send email with exim because of this error:

Failed to create spool file /var/spool/exim4//input//1lj87g-0002tS-5J-D: Permission denied

Is there an easy way to ensure I set all the permissions back to where they were before I move /usr?


Reply to: