chmod a freshly mounted external drive to set up writing access

Viewed 67909

I have mounted a external drive at:

# mkdir /mnt/external

and subsequently:

mkdir -p /mnt/external
mount /dev/sdb1 /mnt/external

Now only the root-user has access to write to these folders.

linux-wyee:/home/martin # dir /mnt
drwxr-xr-x 2 root root 4096 13. Dez 22:01 external

How to change this - how to change that all can write to the external drive. I need to change the permissions within the terminal.

chmod 777 /dev/sdb1 /mnt/external or something alike -
5 Answers
Related