permissions on a freshly mounted [external] drive

hello dear linux-devs and fans.

well 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 -

what do you think!?

- greetings dilbert ;-) - the first!

On 2013-12-14 14:26, dilbertone wrote:
>
> hello dear linux-devs and fans.
>
>
> well i have mounted a external drive at

You already asked about this on another thread and I answered it.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

hello dear all

i did it this way:

linux-wyee:/mnt # chown martin:users /mnt/external

see the results: - it is obvious that it works :wink:



martin@linux-wyee:/> cd mnt
martin@linux-wyee:/mnt> ls -l
insgesamt 4
drwxr-xr-x 3 root root 4096 13. Dez 19:43 external
martin@linux-wyee:/mnt> su
Passwort: 
linux-wyee:/mnt # ^C
linux-wyee:/mnt # 

linux-wyee:/mnt # chown martin:users /mnt/external

linux-wyee:/mnt # cd mnt
bash: cd: mnt: Datei oder Verzeichnis nicht gefunden
linux-wyee:/mnt # ls -l
insgesamt 4
drwxr-xr-x 2 martin users 4096 13. Dez 22:01 external
linux-wyee:/mnt #