Schreibzugriff auf NTFS mit Ubuntu

Weitere Hinweise

  • Remounting it with
    mount -wo exec nosuid # mount
    give it read/write acess with executable binaries allowed and ignoring user IDs.
  • Make sure you format the hard drive in XFS using the web interface of the NAS.
  • The solution is simply to override modes in mount arguments.
    mount /mnt/usb -o remount,umask=077
    sudo mount /media/corsair8 -o remount,umask=000
  • If the usb drive has a FAT filesystem, then chmod won't work since FAT doesn't support permissions and ownership. Instead you set these things when you mount it.
  • You will have to make an entry for it in fstab to be able to do this. Adding umask=022 to the options will give all files and folders 755 permission (-rwxr-xr-x), meaning read access for everyone.
  • However you can change the permission for fat32 but you have to specifiy the mount point not the device.
    sudo chown -R userxxx /media/diskxxx
  • # dosfsck -a -v /dev/sdb1 # -a did not work
    # dosfsck -r -v /dev/sdb1
  • udev
    /dev/usbdisk    /media/usbdisk  auto    users,gid=users,umask=0002,defaults

pmount

Klassifikation

Ubuntu NTFS