Find all directories and symbolic links in the home directory, print them, and then change the ownership of them to the current user.
`find ~ -type d -name '.*' -o -xtype l -print | xargs chown -R ` whoami