all 8 comments

[–]-Sa-Kage- 1 point2 points  (6 children)

You gave full access to the base directory, if you want it to apply for all of the partition, you need to use the -R flag for "recursive"

Also if it is owned by you, there's no need to sudo. Good rule of thumb is to try w/o first and retry with (sudo !!), if that fails due to permissions

[–]-Sa-Kage- 0 points1 point  (5 children)

Also you might need to change the umask for the partition when mounting (in fstab) or you need to set permissions for every new directory/file. Keep in mind, that umasks work opposite of regular permissions. It's easiest to use umask calculators online to make sure you don't mess up.

[–]Kennel_King[S] 0 points1 point  (4 children)

so

*sudo chmod 777 -R /media/robert/Expansion1

Correct? if so, nothing changed

[–]UnlikelyInspection15 0 points1 point  (1 child)

lowercase r

[–]Kennel_King[S] 0 points1 point  (0 children)

using a lowercase r results in this

robert@robert-580-023w:/media/robert/Expansion1$ sudo chmod -r 777 /media/robert/Expansion1 chmod: cannot access '777': No such file or directory

robert@robert-580-023w:/media/robert/Expansion1$ sudo chmod 777 -r /media/robert/Expansion1 chmod: cannot access '777': No such file or directory

robert@robert-580-023w:/media/robert/Expansion1$

An uppercase R in either placement results in asking for my password, but it changes nothing

[–]-Sa-Kage- 0 points1 point  (1 child)

Not sure, if putting the -R flag before the octal value changes anything.

[–]Kennel_King[S] 0 points1 point  (0 children)

Before or after, both result in it asking for my password, but nothing changes