Skip to content
Follow
Ubuntu Linux

Enable Personal File Sharing in Ubuntu Linux

Richard
Written by
Richard
Sep 14, 2022 Updated Jul 14, 2026 3 min read
How to Enable or Disable Microsoft Defender Cloud Protection
How to Enable or Disable Microsoft Defender Cloud Protection

Personal file sharing in Ubuntu Linux allows you to easily share files from your computer with other devices on the same network.

This function, called ‘User Shares,’ helps you make specific files available quickly without needing complicated server setup. It primarily works by sharing the contents of your ‘Public’ folder.

Once you set this up, you can choose if others need a password to see your shared files, adding security. For sharing to work, your Ubuntu computer and the other device must be on the same network.

⚡ Quick Answer

Open System Settings, click Sharing, and toggle the main Sharing switch to On. Then, select File Sharing and turn its switch to On. You can also enable “Require Password” for added security.

How to turn on or off personal file sharing in Ubuntu Linux

Turning on personal file sharing in Ubuntu Linux lets you share files from your Public folder with other computers on your home network. This is a handy way to move files between your devices without needing a USB drive, and you can turn it off later if you don’t need to share anymore.

First, press Ctrl+Alt+T on your keyboard to open the terminal console. Then, run the commands below to install gnome-user-share.

🐧Bash / Shell
sudo apt install gnome-user-share

Ubuntu centralizes most of its settings in one location. The System Settings panel allows management of everything from system configurations to user creation and updates.

Ubuntu Linux Activities overview screen showing system menu
ubuntu linux activities overview

Alternatively, click on the System menu at the top-right corner of the top bar on your desktop.

From the System menu, select Settings (as highlighted below).

Ubuntu Linux system menu accessing Settings from top bar
ubuntu linux system menu top bar settings

In the Settings app, click on the Sharing tile to open the panel.

Ubuntu Linux Sharing settings panel for file sharing configuration
ubuntu linux sharing panel

To enable file sharing in Ubuntu Linux, toggle the Sharing switch at the top of the window to the "On" position. This activates personal file sharing, allowing you to share folders with other computers on your network.

Sharing is disabled when the switch is set to Off.

Ubuntu Linux toggle to turn on Personal File Sharing
ubuntu linux turn on sharing

In the System Settings -> Sharing panel, select File Sharing as highlighted below.

Ubuntu Linux File Sharing tile selected in Settings
ubuntu linux file sharing tile select

On the File Sharing window, toggle the File Sharing switch to On.

To disable it, switch it back to the Off position.

Ubuntu Linux File Sharing toggle switched on enabled
ubuntu linux turn on file sharing
⚠️Warning
This means that other people on your current network can attempt to connect to your computer and access files in your Public folder.
⚠️Warning
To require other people to use a password when accessing your Public folder, switch the Require Password to On.
Ubuntu Linux File Sharing password protection setting updated
ubuntu linux file sharing password updated

That should do it!

Conclusion:

  • Enabling or disabling file sharing in Ubuntu Linux is a straightforward process using the gnome-user-share package.
  • By accessing the System Settings panel, users can easily toggle the File Sharing switch to allow or restrict access to the Public folder.
  • The option to require a password to access the Public folder adds an extra layer of security for shared files.
  • This guide provides a comprehensive overview of managing File Sharing settings in Ubuntu Linux, ensuring a seamless user experience.

Does Ubuntu have SMB?

Overview. A Samba file server enables file sharing across different operating systems over a network. It lets you access your desktop files from a laptop and share files with Windows and macOS users. This guide covers the installation and configuration of Samba on Ubuntu.

How to share files using LAN cable in Ubuntu?

Computer. Now you can access all the files inside it directly from Ubuntu. You can directly copy these files from Windows to Ubuntu.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable File and Printer Sharing in Windows 11
Windows How to Enable File and Printer Sharing in Windows 11
How to Enable File Sharing Between Ubuntu and Windows 11
Windows How to Enable File Sharing Between Ubuntu and Windows 11
How to Mount Windows 11 Shares on Ubuntu Linux
Ubuntu Linux How to Mount Windows 11 Shares on Ubuntu Linux
How to Find Your Computer Name in Windows 11
Windows How to Find Your Computer Name in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *