I've mounted a shared windows directory (C:\foo\bar) on an ubuntu server (/mnt/shared/bar) like so:
//windows-server/bar /mnt/shared/bar smbfs credentials=/etc/samba-credentials 0 0
It works great, but when I cd into /mnt/shared/bar, Ubuntu shows that all the files are owned by root.
I'd like to restrict access to /mnt/shared/bar on the linux side. For example, I'd like to only allow users in the "baz" group to have access to the /mnt/shared/bar directory.
I'm new to Samba. Can someone with more experience let me know if this is possible?