If you plan on publishing your application on Unix and Unix only, you can access additional permissions on an entry over its .metadata().unwrap().permissions() call. Namely, you can see the exact st_mode bits by calling .mode() and change them by calling set_mode() with a new set of bits.