You are not logged in.
I've tried to configure as directed at https://wiki.archlinux.org/index.php/NTFS-3G.
fstab file
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda8
UUID=7baebff6-d3bb-40f1-be6a-5893df343eec / ext4 rw,relatime,data=ordered 0 1
# /dev/sda9
UUID=52F5-FE59 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda10
UUID=6960372b-7568-4c99-84f6-1da39b4fa2a3 none swap defaults 0 0
# /dev/sda6
UUID=DF71F7E415D2C7B8 /media/Anhar ntfs-3g uid=1000,gid=10,umask=022 0 0
# /dev/sda7
UUID=6AD8EB55288FBF21 /media/Programming ntfs-3g uid=1000,gid=10,umask=022 0 0lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ntfs Recovery 6341FE0143ED14C7
├─sda2 vfat 6E0C-8A9F
├─sda3
├─sda4 ntfs OS D0EA6871EA68562E
├─sda5 ntfs 36F2D44DF2D412CB
├─sda6 ntfs Anhar DF71F7E415D2C7B8 /media/Anhar
├─sda7 ntfs Programming 6AD8EB55288FBF21 /media/Programming
├─sda8 ext4 7baebff6-d3bb-40f1-be6a-5893df343eec /
├─sda9 vfat 52F5-FE59 /boot
└─sda10 swap 6960372b-7568-4c99-84f6-1da39b4fa2a3 [SWAP]
sr0 id
uid=1000(nughii) gid=1000(nughii) groups=1000(nughii),10(wheel)But, I can only read the file, can not write in ntfs partition.
How to solve this?
Thanks
Last edited by nugrohoav (2017-09-05 13:38:06)
Offline
Post the output of
mountAnd please post text as text in [ code ] tags instead of making screenshots, it is much simpler to parse.
Offline
Post the output of
mountAnd please post text as text in [ code ] tags instead of making screenshots, it is much simpler to parse.
mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=3012660k,nr_inodes=753165,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda8 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda7 on /media/Programming type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda6 on /media/Anhar type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda9 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/120 type tmpfs (rw,nosuid,nodev,relatime,size=603608k,mode=700,uid=120,gid=120)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=603608k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)Offline
I assume you can write files as root?
Offline
mount says the partition is mounted read-only. It can happpen if filesystem is damaged.
Offline
I assume you can write files as root?
I try to login as root, but I still can not write file.
Offline
mount says the partition is mounted read-only. It can happpen if filesystem is damaged.
Thanks, it works.
But, how do you know that the partition is mounted read-only from the output of "mount"?
Last edited by nugrohoav (2017-09-05 03:14:45)
Offline
That's what the "ro" at the beginning of the mount options means.
Offline
/dev/sda7 on /media/Programming type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda6 on /media/Anhar type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)The ro in the mount options means it is read only.
Offline
Thanks all
Offline