You are not logged in.
[human@Machina ~]$ ls /run/media/human/ -l
total 72
drwxrwx--- 30 human render 4096 ene 22 2021 new
drwxr-xr-x 178 root root 57344 oct 8 14:40 Personal
drwxr-xr-x 5 human root 4096 oct 8 15:20 personal-nxt-bkp
drwxr-xr-x 6 human root 4096 oct 7 15:24 tercerosWhat I need is to have write access as normal user to the disk labeled Personal, but I can't understand why every other device is owned by me except this one.
what I do is simply do is:
udisksctl "mount -b /dev/sdxnIn case that it matters my groups,uid and gid are:
groups
tty disk wheel ftp http video audio users human realtime
id -u
1000
id -G
1000 5 6 10 11 33 91 92 100 1004Do the mounted devices all use the same filesystem?
lsblk -f mount
Hi seth. they are all ext4
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1 ext4 1.0 tera 5fb23662-ae38-4650-b355-68095c947016
sdb
├─sdb1 ext4 1.0 Personal 787dd582-13e3-4bdb-873b-7dca998bd217 94,7G 77% /run/media/human/Personal
├─sdb2 ext4 1.0 Fuentes_OC b07affb7-c79e-4742-b899-17ac3aaf9020
├─sdb3 ext4 1.0 Edicion 7c302835-5ce9-4941-9ae6-61aefa9226eb
├─sdb4 ext4 1.0 Productos 7880f340-7701-470f-bff7-32263118a74e
├─sdb5 ext4 1.0 experimental 42b3345c-0923-4e51-bcb0-bc4ec72637c0
├─sdb6 ext4 1.0 cache 84cbc3bc-87c7-43bd-9649-9e769d19af0f
└─sdb7 ext4 1.0 terceros b2e13713-fd5d-40d4-ba9c-9b7c6f4e7494 445,1G 1% /run/media/human/terceros
sdc
└─sdc1 ext4 1.0 personal-nxt-bkp 44aaa092-ed48-4981-aeab-3f4bedab6ac9 2,2T 33% /run/media/human/personal-nxt-bkp
sdd
├─sdd1 vfat FAT32 EFI-BOOT 1251-4C7C
├─sdd2 swap 1 SWAP c60b6875-a2fc-4e38-a06e-bf9043fdbdc2 [SWAP]
├─sdd3 ext4 1.0 arch-emergency b191c55e-7a6c-4562-b4a7-2fd164969110
├─sdd4 ext4 1.0 Machina_2021 dcec5958-bc95-45f2-ab24-4795e158e1f1 408,8G 5% /
└─sdd5 ext4 1.0 Machina_backup bd21d515-5aa0-49d2-8ba5-bd44009c3d16
sde
├─sde1 ext4 1.0 human 7f5f286c-df6e-49a5-aa16-8662fc6762b5 401,4G 7% /home/human
└─sde2 ext4 1.0 human_bkp 19062669-a74a-4114-b170-7e693484efc1
sdf
├─sdf1 ext4 1.0 new 8cab6f75-1ea7-4451-9f48-2bbcce167184 115G 70% /run/media/human/new
└─sdf2 ext4 1.0 Salvado de new 481c186a-5e58-4ce9-b49c-ff4cda5afe8d
sr0 iso9660 Joliet Extension ARCH_202105 2021-05-01-05-18-20-00 $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=8123060k,nr_inodes=2030765,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdd4 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19486)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/dev/sde1 on /home/human type ext4 (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=8130448k,nr_inodes=409600,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1626088k,nr_inodes=406522,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdc1 on /run/media/human/personal-nxt-bkp type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
/dev/sdf1 on /run/media/human/new type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
/dev/sdb7 on /run/media/human/terceros type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
/dev/sdb1 on /run/media/human/Personal type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)Just in case I chowned media/Personal in order to be able to work with it, hope this does not affect the diagnostics.
Last edited by Automath (2021-10-08 22:08:40)
Offline
Do the mounted devices all use the same filesystem?
lsblk -f
mountOffline
Do the mounted devices all use the same filesystem?
lsblk -f mount
I replied you in mys last edition as they told me not to answer every comment with a new reply. The fact is that I'm still new to the forum interface so I'm unsure how to tell repliers that I answered them; how do I tag somebody?
Offline
seth wrote:Do the mounted devices all use the same filesystem?
lsblk -f mountI replied you in mys last edition as they told me not to answer every comment with a new reply. The fact is that I'm still new to the forum interface so I'm unsure how to tell repliers that I answered them; how do I tag somebody?
You can post again in-between replies, what they mean by not making new replies for everyone else's reply is that if for example 5 people had replied since your last post, you should make just 1 post quoting all 5 of them in one go, rather than making 5 posts with 1 quote each.
You can do this by hitting Quote on each of the replies, and you copy/paste the contents of every quote into a new reply, so everything will be in one reply instead of making several.
Last edited by Ammako (2021-10-08 23:11:26)
Offline
So they're all ext4 and all mounted the same.
If you "udisksctl unmount -b /dev/sdb1" it will leave a stale /run/media/human/Personal diretcory? Remove that and try to mount it again.
That being said: ext4 has proper permission management (obviously…) so any inability to write into that filesystem is limited by the filesystem - ie. you probably (also) simply lack ownershit/writing permissions on the filesystems root node which you'll have to simply chown/chmod -R to your needs.
Last edited by seth (2021-10-09 06:44:47)
Offline