// mount samba directory
sudo mount -t cifs //$host/$path $mountpath -o username=$user,noauto,user,uid=1001,gid=1002,forceuid,forcegid
//mount remote ftp
echo $key | sshfs $user@$host: $mount -C -p $port -o idmap=user -o password_stdin
The first command I have to perform by using sudo privilege, otherwise mount.cifs: permission denied: no match for XXXX found in /etc/fstab prompted.
However, second command that i issue can be success without using sudo privilege.
- Both commands are mounting remote directory to linux file systems, but why behave different? 
- I thought mount action need to be performed by privilege user to ensure security policy, am I misunderstanding any ? 
- Can a user mount file while no sudo privilege permission given?