I have attempted to mount a windows share using the following line in my fstab:
//some_mount /media/some_mount cifs uid=1000,gid=1000,credentials=/home/quant/.smbcredentials,sec=ntlm 0 0
When I run
sudo mount -a the
/media/some_mount directory is correctly mounted. I can also see that the permissions for the directories are correct (ie. my user has read/write permission). However, when I try to enter one of the directories I get the following error:
-bash: cd: some_mount/dir/: Operation not permitted
If I first run
sudo -i and run that same command as root, everything works.
I have tried running
id -g quant and
id -u quant and confirmed that my
uid are both 1000.
Why can't I access those directories as the non-root user?