I am trying to give a user other than sudo
read/write access to a folder and subs, if I run the command sudo chown user1432 /media/newfolder
it throws an error of
chown changing ownership of '/media/newfolder': Permission Denied
Just to confirm I was using the correct username to change to, I ran the command whoami
which displayed the username
user1432
So I know that element is accurate, if I look at stat /media/newfolder
it shows that root
is the only user with drwxr
perms.
What must I do to change the permission from root to another user? Or even give a different user write permissions?
My fstab reads like this
//192.168.X.XXX/tonythetiger /media/newfolder cifs username=username,password=passwrd 0 0
/media/newfolder
really just a folder, or a mount point of another file system (external storage device)?