Skip to content

Commit

Permalink
Dereference symlinks for the chown in cpsvndir to ensure link ownersh…
Browse files Browse the repository at this point in the history
…ip is set properly. Refs #7010.

git-svn-id: http://svn.mythtv.org/svn/trunk@21782 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
sphery committed Sep 11, 2009
1 parent 522755c commit ae764da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythplugins/cpsvndir
Expand Up @@ -46,7 +46,7 @@ for file in $(find . -name .svn -prune -or -print); do
mkdir -p "$DEST/$file"
else
cp -pR "$file" "$DEST/$file"
chown $EUID:$EGID "$DEST/$file"
chown -h $EUID:$EGID "$DEST/$file"
chmod +r "$DEST/$file" &> /dev/null
fi
done
Expand Down
2 changes: 1 addition & 1 deletion mythtv/themes/cpsvndir
Expand Up @@ -46,7 +46,7 @@ for file in $(find . -name .svn -prune -or -print); do
mkdir -p "$DEST/$file"
else
cp -pR "$file" "$DEST/$file"
chown $EUID:$EGID "$DEST/$file"
chown -h $EUID:$EGID "$DEST/$file"
chmod +r "$DEST/$file" &> /dev/null
fi
done
Expand Down
2 changes: 1 addition & 1 deletion oldthemes/cpsvndir
Expand Up @@ -46,7 +46,7 @@ for file in $(find . -name .svn -prune -or -print); do
mkdir -p "$DEST/$file"
else
cp -pR "$file" "$DEST/$file"
chown $EUID:$EGID "$DEST/$file"
chown -h $EUID:$EGID "$DEST/$file"
chmod +r "$DEST/$file" &> /dev/null
fi
done
Expand Down

0 comments on commit ae764da

Please sign in to comment.