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
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
|
Details
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
Monday, 31 October 2022, 22:50 GMT
Reason for closing: Fixed
Additional comments about closing: nautilus-share 0.7.5-1
The manpage is faulty: https://www.samba.org/samba/docs/current/man-html/net.8.html
-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/log.net': 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
[share]
path=/home/user/share
comment=comment
usershare_acl=Everyone:R,
guest_ok=n
The attached patch solve that by replacing -l with --long.
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.
https://gitlab.gnome.org/coreyberla/nautilus-share/-/tree/master
Corey