Access Synology Shared Folders from Ubuntu using Samba | ATLASSC.NET
Skip to main content
/// .DATA.FRAGMENT_20210811

Access Synology Shared Folders from Ubuntu using Samba

2 minAuthor: Z.SHINCHVEN

synology-ubumtu-samba

Introduction

To access shared folders on Synology NAS from Ubuntu, enabling Samba share is a crucial step. The steps below guide you on how to mount Synology's shared folders on Ubuntu using cifs-utils.

Step 1: Install cifs-utils Package

Kickstart the process by installing the cifs-utils package on your Ubuntu system. This package is instrumental for mounting SMB/CIFS shares on Linux.

sudo apt-get install cifs-utils

Step 2: Create a Mount Point

Before we can mount the shared folders, let's create a directory to serve as the mount point.

sudo mkdir /mnt/synology/<SHARED_FOLDER_NAME>

Step 3: Update fstab File

Now it's time to edit the /etc/fstab file to add the configuration for mounting the Synology shared folder. Open the fstab file with a text editor of your choice, and append the following line:

//<SYNOLOGY_HOST>/<SHARED_FOLDER_NAME> /mnt/synology/<SHARED_FOLDER_NAME> cifs rw,dir_mode=0777,file_mode=0777,vers=2.0,username=<SYNOLOGY_USERNAME>,password=<SYNOLOGY_PASSWORD> 0 0

Make sure to replace <SYNOLOGY_HOST>, <SHARED_FOLDER_NAME>, <SYNOLOGY_USERNAME>, and <SYNOLOGY_PASSWORD> with the appropriate values.

Step 4: Mount the Shared Folder

With the fstab file now updated, execute the following command to mount the shared folder:

sudo mount -a

Your Synology shared folder should now be accessible from your Ubuntu system at the mount point /mnt/synology/<SHARED_FOLDER_NAME>. To remount or make any changes in the shared folders, simply repeat Step 4.

RackNerd Billboard Banner
Share node:
/// .RELATED.DATA_STREAMSShared tags

Related posts

Scanning_database_for_correlations…

/// .UPLINK.SUBSCRIBE

Keep your deck synced with every new transmission from ATLASSC.NET. Subscribe over RSS or Atom, or wire the whole archive straight into your AI assistant with the MCP server.