Files
proton-drive-linux/docs/SHARING.md
nvrl 4edcff3f87 feat(sharing,gui,cli): change public links and show folder sizes
The share dialog gets Link settings under an existing link: role, password
and expiry apply at once and keep the URL. The daemon fills in the options a
change keeps from the link as it stands, and refuses to keep a password it
cannot read rather than dropping it. pdfs public-link update does the same
from a terminal, and pdfs members shows the expiry.

Details shows a folder's size and item count as Proton Drive counts it,
trash included, and pdfs du prints it. Both are refused offline and for a
folder that is not on Drive yet.

Needs proton-drive-rs with update_public_link, get_folder_size and
PublicLink::custom_password.
2026-10-25 22:18:11 +01:00

2.4 KiB

Sharing

Share files and folders with other people, by invitation or with a public link, and use what others share with you.

Invite people

  1. Select a file or folder and choose Share….
  2. Enter one or more email addresses and choose Can view or Can edit.
  3. Send the invitation. People appear as members once they accept.

The admin role, which may also manage the share, is available from the command line (--role admin).

From a terminal:

pdfs share Documents/Plans alex@example.com --role editor
pdfs members Documents/Plans          # members, pending invitations and the public link

pdfs share-role changes someone's role, and pdfs unshare removes one person or stops sharing altogether. See the command-line reference.

In Share…, create a public link. Anyone with the link can open the item. You can protect the link with a password and let it expire on a date. From a terminal, use pdfs public-link create and pdfs public-link remove.

To change a link later, open Link settings under it. You can switch it between Viewer and Editor, set, change or remove its password, and change or remove its expiry. The address stays the same, so everyone who has the link keeps it. From a terminal, use pdfs public-link update; pdfs members shows the link's id. A link made long ago by an older Proton app may not be changeable; remove it and create a new one instead.

See what you share

Shared by me lists everything you share. Filter it by links, by people, or by expired links. Copy a link that is still valid, or stop several shares at once. pdfs shared prints the same list.

Shared with you

Shared with me lists what other people share with you, who shared it, and what you may do with it. The same items are in the Shared with me folder inside ~/ProtonDrive. Items where you are a viewer are read-only.

  • Invitations wait in a banner at the top of the page until you accept or reject them. From a terminal: pdfs invitations list, then accept ID or reject ID.
  • Saved public links have their own view, listed by the name of what they point at. pdfs bookmarks manages them.
  • Leave… a share you no longer need, or run pdfs leave UID with the ID from pdfs shared-with-me.