Problem beim mounten



  • Folgendes Problem:

    Ich habe in der fstab folgende Zeile eingefügt um ein USB-Device zu mounten:
    /dev/sda1 /mnt/usb ntfs ro,user,noauto 0 0

    Jetzt kann jeder User mittels mount dieses Device mounten. Problem ist aber, dass /mnt/usb jetzt root gehört(obwohl das Verzechnis sonst einem normalen User gehört).

    Wie kann ich das Problem umgehen? Ich möchte als normaler User schreibrechte haben.

    Danke 🙂



  • Ein Auszug aus den mount Man Pages:

    uid=value, gid=value and umask=value
    Set the file permission on the filesystem. The umask value is
    given in octal. By default, the files are owned by root and not
    readable by somebody else.

    Also setzt zu z.B.

    /dev/sda1 /mnt/usb ntfs ro,user,noauto,umask=111,dmask=000 0 0
    

Anmelden zum Antworten