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 Andreas Radke (AndyRTR) - Wednesday, 17 November 2021, 22:19 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
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

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.