Can someone explain the following to me and why it doesn’t work? I am unable to delete either of the two folders shown in the ls command
glrider@glrider-linux:/media/glrider/SeagateBackupPlusDrive$ ls -al | grep 20230314
drwxr-xr-x 1 glrider glrider 0 Jun 9 16:42 20230314-0928-61R06
drwxr-xr-x 1 glrider glrider 0 Jun 9 16:41 20230314-0934-61R07
glrider@glrider-linux:/media/glrider/SeagateBackupPlusDrive$ rmdir 20230314-0934-61R07
rmdir: failed to remove ‘20230314-0934-61R07’: Permission denied
glrider@glrider-linux:/media/glrider/SeagateBackupPlusDrive$ id
uid=1000(glrider) gid=1000(glrider) groups=1000(glrider),4(adm),27(sudo),120(lpadmin),137(vboxusers)
glrider@glrider-linux:/media/glrider/SeagateBackupPlusDrive$
Looking at the upper directories I see at the glrider level the folder is owned by root, but my recollection was you didn’t have to have delete permissions all the way down the path. Is that not correct?
Sorry problem resolved. I saw that glrider was the owner of the SeagateBackupPlusDrive folder, but it only had read and execute. I changed it to 700 and now all is well.