Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72642 - [nautilus-share] Does not work and the upstream project link shows that the repository is archived.

Attached to Project: Community Packages
Opened by Moshiur Rahman (moshiur_rahman) - Friday, 05 November 2021, 06:21 GMT
Last edited by Toolybird (Toolybird) - Monday, 31 October 2022, 22:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


I configured usershare according to the wiki and can use it just fine from the terminal. However using this extension spits out 'usershare error 255' or some error involving how special characters cannot be in the share name (there weren't any special characters, it seems the extension was trying to use the absolute path of the folder as the share name).
The upstream project seems to be abandoned and the extension hasn't been updated in about two years! I think this extension is deprecated.

Steps to reproduce:
Set up usershare and try to share using nautilus.
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 31 October 2022, 22:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  nautilus-share 0.7.5-1
Comment by Erwin (megavolt) - Sunday, 23 January 2022, 10:04 GMT
The problem is this parameter: -l

The manpage is faulty:

-l now calls -> -l|--log-basename=logdirectory
but not -> -l|--long

$ net usershare add -l share ~/share "comment" "Everyone:R" guest_ok=n
[2021/10/11 01:49:18, 0] ../../lib/util/debug.c:1108(reopen_one_log)
reopen_one_log: Unable to open new log file 'share/': No such file or directory
net usershare add: share name /home/user/share contains invalid characters (any of %<>*?|/\+=;:",)

$ net usershare add --long share ~/share "comment" "Everyone:R" guest_ok=n

The attached patch solve that by replacing -l with --long.
Comment by Mark Wagie (yochananmarqos) - Sunday, 17 July 2022, 20:41 GMT
The patch above works. Since the project is archived, upstream will never fix this. Please apply the patch, it works fine.
Comment by Corey Berla (coreyberla) - Sunday, 11 September 2022, 17:36 GMT

I'm a Nautilus dev and forked this project so we could bring it out of the Archive, since it still works. I noticed the same issue with `-l`. I mainly updated it to make it work with Nautilus 43 that uses GTK4.

I made a release, but I have some pending updates, so expect another release very soon.

Comment by Moshiur Rahman (moshiur_rahman) - Sunday, 11 September 2022, 18:41 GMT
Great News! Thank you, Corey.