[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 09/11/2021 14:47, fraser kendall wrote:
On Tue, 9 Nov 2021 10:30:38 +0000 Julian Hall <linux@xxxxxxxxxxxx> wrote: Coming late to this party, but shouldn't the chown be a chown -R?julian@Cerce:~$ sudo umount /media/julian/DEMETER [sudo] password for julian: julian@Cerce:~$ sudo chown julian:julian /media/julian/DEMETER julian@Cerce:~$ *saved reply, rebooted* julian@Cerce:~$ cd /media/julian/DEMETER bash: cd: /media/julian/DEMETER: Permission denied It seems to allow permission mount the device but not to the actual files.So is the mountpoint owned by julian, but the files contained on it still belong to the original owner?JuliamSorry if I've got the wrong end of the stick. fraser
I /think/ -R would only work with a populated directory; as the mount point is empty it cannot recursively own anything.
Julian -- “The great tragedy of Science — the slaying of a beautiful hypothesis by an ugly fact.” ― Thomas Henry Huxley -- The Mailing List for the Devon & Cornwall LUG https://mailman.dcglug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq