File Permissions and Sharing Settings in Google Drive

This Google Script prints the sharing access and permissions of all files in your Google Drive. This helps you determine who has access to your Google Drive files. It uses the DriveApp service to retrieve all the files in your Google Drive and emails the report to the email address of the authorized Google user.