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

Restoring file capabilities in /usr



Hi All,

Is there an easy method of restoring original file capabilities for the
entire /usr directory?

The background is I wanted to move my /usr directory to another
partition and I copied it with "cp -ar ..." and deleted the original
content of /usr to find out my ping does not work because of the lack of
the required capabilities for the binary.
That is not too much of an issue, because I can fix the ping command.
However, I am afraid there might be some other binaries lurking to bite
me when I need it least...

Is there an easy method (like apt based for instance) of restoring file capabilities for the whole
/usr directory?

Thanks,
Mike


Reply to: