#3133 fix owner so symlinks work on /srv/repos/beaker
Closed: Fixed None Opened 12 years ago by bpeck.

= phenomenon =
We have a few new symlinks under /srv/repos/beaker but because they don't match the owner of what they are pointing to they don't work.

= background analysis =
Different user updated the repos, luckily the creation of new symlinks is not very often.

= implementation recommendation =
Change the owner of the symlinks to match what they are pointing to.

cd /srv/repos/beaker

find . -maxdepth 2 -mindepth 2 -type l -a -user dcallagh -exec chown bpeck {} \;

find . -maxdepth 2 -mindepth 2 -type d -a -user dcallagh -exec chown bpeck {} \;


fixed two items:

this command works better:
find . -maxdepth 3 -mindepth 3 -user dcallagh -exec chown -h -v bpeck {} \;

b/c otherwise repodata dirs are owned wrongly.

Login to comment on this ticket.

Metadata