Timeline for `chown` not working, even using sudo
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2023 at 15:18 | comment | added | waltinator |
@MrArsikk Did you read man mount? It has a section on mounting FAT and NTFS volumes.
|
|
| Jul 31, 2023 at 10:26 | comment | added | MrArsikk | @waltinator yes, the drive is NTFS. | |
| Jul 30, 2023 at 19:11 | comment | added | waltinator |
mount | grep 'media' would show how it's mounted. Are you working on a FAT or NTFS formatted USB disk? They don't support Linux permissions. Read man mount.
|
|
| Jul 30, 2023 at 13:31 | comment | added | aviro |
See What does a dot after the file permission bits mean and What does the dot at the end of the permissions in the output of "ls -lah" mean?. Run ls -Z or getfacl -Rpt <dir> to check the security context of your files.
|
|
| Jul 30, 2023 at 13:26 | comment | added | muru |
@RomeoNinov mounting external disks in /run/media/<user> is common in some DEs these days.
|
|
| Jul 30, 2023 at 13:16 | comment | added | user10489 |
df -T will list filesystem type which would help us answer this question.
|
|
| Jul 30, 2023 at 12:48 | comment | added | Romeo Ninov |
Moreover the directory is mount in /run tree which is not good place for mount remote/portable media
|
|
| Jul 30, 2023 at 12:34 | comment | added | PonJar |
chown doesn’t work as you expect if the filesystem is FAT or NTFS. In these cases the ownership is set by the way you mount the partition, either in fstab or by the mount command used
|
|
| Jul 30, 2023 at 11:56 | comment | added | Paul Pazderski |
No error messages from the chown and chgrp invocations? What is the filesystem type this directory is on? The "all permissions" are also strange. If not explicit set it give some FAT vibes. The /run/media/*/Desktop/ also indicates some shared stuff.
|
|
| S Jul 30, 2023 at 11:51 | review | First questions | |||
| Jul 30, 2023 at 11:55 | |||||
| S Jul 30, 2023 at 11:51 | history | asked | MrArsikk | CC BY-SA 4.0 |