Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions




The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to mount network folders on boot-up, and allow all users to read/write?

  1. Read General Notes
  2. Read How to install Samba Server for files/folders sharing service?
  3. e.g. Assumed that network connections have been configured properly
         Network computer's IP:
         Network computer's Username: myusername
         Network computer's Password: mypassword
         Shared folder's name: linux
         Local mount folder: /media/sharename
  4. sudo mkdir /media/sharename
    sudo gedit /root/.smbcredentials
  5. Insert the following lines into the new file
  6. Save the edited file (sample)
  7. sudo chmod 700 /root/.smbcredentials
    sudo cp /etc/fstab /etc/fstab_backup
    sudo gedit /etc/fstab
  8. Append the following line at the end of file
    //        /media/sharename  smbfs   credentials=/root/.smbcredentials,dmask=777,fmask=777   0       0
  9. Save the edited file (sample)
  10. Read How to remount /etc/fstab without rebooting?

Remote Desktop

The Unofficial Ubuntu Starter Guide
Prev Home Next

  Published under the terms of the GNU General Public License Design by Interspire