Skip to content
Follow
Ubuntu Linux

Enable Personal File Sharing in Ubuntu Linux

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

You can enable personal file sharing in Ubuntu Linux to easily share files from your computer with other devices on your network.

This feature, also known as “User Shares,” uses the gnome-user-share package to let you quickly make specific files accessible without complex server configurations. You can grant access to the contents of your Public folder to other machines.

Once enabled, you control whether other users require a password to access your shared Public folder, providing a layer of security for your files. To ensure your shared files are discoverable, make sure both your Ubuntu machine and the target device are connected to 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 lets you share your Public folder with other computers on your network.

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 keeps most of its settings in one place. You can manage everything from system configurations to user creation and updates within the System Settings panel.

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

Then, toggle the Sharing switch at the top of the window to On so sharing is enabled.

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

This means that other people on your current network can attempt to connect to your computer and access files in your Public folder.

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 *