I need to run the following command at startup or upon login to make my samba share accessible to my file system. How can I make this command run when I start my computer?
sudo smbnetfs ~/Shared -o allow_other
Note that this command requires sudo
and must be run from a terminal. Putting it in startup applications does not work.
/etc/fuse.conf
to include the option allow_other see http://manpages.ubuntu.com/manpages/xenial/man8/mount.fuse.8.html . But how and what user is mounting samba ? should not need to do this. – Panther Sep 15 '17 at 22:39/etc/fuse.conf
and done. If you want it at startup, try putting it in /etc/rc.local or write a boot script. If you want it at login, configure sudo to allow you to run that command without a password. – Panther Sep 15 '17 at 22:55