#!/bin/sh
# Recursively take ownership of the given files or the current directory
sudo chown -R --preserve-root $USER:$USER "${@:-.}"