On Ma, 18 mai 21, 18:26:18, Steve Dondley wrote:
> 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?
 
Maybe not applicable for /usr, but ACLs and possibly also extended 
attributes could be an issue as well. I found it out the hard way 
recently after copying an install with 'rsync -a' between two storage 
devices (-a doesn't include -H, -A and -X).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature

Reply via email to