linux how to give write access to all users to a media disk code example Example: linux external hard drive chmod sudo chmod ugo+wx /media/username/your_drive