0

I have a problem with making a new folder in one of my drives. I have Ubuntu 17 and the drive format is NTFS.

I already mounted it, but I still can't make a new folder.

Result of for i in $(lsblk -l -f|grep -i ntfs|cut -d ' ' -f 1) /etc/mtab;do grep "/dev/$i" /etc/mtab;done ;:

/dev/sda2 /media/mo/0A9392143BD31443 fuseblk ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 
/dev/sdb1 /media/mo/My\040Passport fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

1 Answers1

0

Two partitions with NTFS file systems were found:

$ for i in $(lsblk -l -f|grep -i ntfs|cut -d ' ' -f 1) /etc/mtab;do grep "/dev/$i" /etc/mtab;done
/dev/sda2 /media/mo/0A9392143BD31443 fuseblk ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/sdb1 /media/mo/My\040Passport fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
  • /dev/sda2 is mounted read-only ro
  • /dev/sdb1 is mounted read-write rw

I think default_permissions,allow_other should make it possible to write files and create a directory when mounted read-write.

You cannot write anything (and not create a directory) when a Microsoft partition is mounted read-only.

Try to check permissions with the following commands

ls -ld /media/mo/0A9392143BD31443
ls -ld /media/mo/'My Passport'

See How do I use 'chmod' on an NTFS (or FAT32) partition? with detailed instructions how to mount an NTFS or FAT32 partition to make it useful.


If Windows is hibernated or semi-hibernated (alias Fast Startup), the Windows file system(s) are not ready for writing by Linux, so Linux (and Ubuntu is Linux) does not want to mount it with write permissions.

What about your partition /dev/sda2? Please check, and if necessary, turn off Fast Startup in Windows and try again.

Eliah Kagan
  • 119,640
sudodus
  • 47,684