for people that have a symlink, such as /opt/influxdb/shared/data as a link to a datadir on a different volume, this makes sure the ownership is reset there too. otherwise you can get influxdb to panic due to incorrect permissions (happened to me)