[confirmed] Nautilus Shared Folder Status

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[confirmed] Nautilus Shared Folder Status

Postby altair4 on Mon Jun 15, 2009 7:58 am

I'm not all together sure what you want in this new forum section since I don't think this is a Mint bug. I may be wrong but this is either an Ubuntu bug or possibly a gnome / nautilus / nautilus-share bug. Feel free to remove it if you don't feel this is applicable.

Overview of Problem
After creating a share using nautilus-share, the status of the share displayed by nautilus does not persist through logouts or reboots. The actual state of the share is correct but is not displayed correctly in nautilus.

Steps to Reproduce
Open nautilus > Right click select a directory > Sharing Options > Select the following options:
Share this folder
Allow other people to write in this folder
Guest access
Create Share

Then reboot or logoff and login again.

My Results
Nautilus-share creates the following entry into /var/lib/samba/usershares :
#VERSION 2
path=/home/tester1/Documents
comment=
usershare_acl=S-1-1-0:F
guest_ok=y

and creates the following "shared" icon:
Share_Icon.png
Share_Icon.png (3.03 KiB) Viewed 4547 times


After repeated reboot or re-login the status reported by nautilus changes to this:
Share_Icon2.png
Share_Icon2.png (2.45 KiB) Viewed 4547 times
Properties_Stage2.png
Properties_Stage2.png (24.86 KiB) Viewed 4549 times

The icon suggests that it is not shared. The Properties > Share tab indicates that it is not shared but the /var/lib/samba/usershares definition has not changed - It is shared, and a remote user does in fact have access.

I have found an ubuntu bug report that address the Share Icon problem but not the properies tab problem:
https://bugs.launchpad.net/ubuntu/+sour ... bug/280480

And there is at least one other member that has reported this problem: viewtopic.php?f=42&t=23169#p160078
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Re: Nautilus Shared Folder Status

Postby emorrp1 on Mon Jun 15, 2009 8:30 am

Well, the main reason I was after a bug reporting forum was mainly for reporting specific, verified bugs in the mintTools and being sure of getting the dev's attention, but it's also handy to have a more friendly method of reporting bugs than ubuntu's apport (which also requires a launchpad account). What I've done is confirmed the lp bug report using my lp account, but linked back here for more detail. I plan on doing similar with other bugs reported here (either finding an existing bug report to confirm, or creating a new one), provided it keeps being appropriate - e.g. newbie posts problem in Support, someone with more linux knowledge investigates and details the bug report in this forum (unlike your case, where it just needed verifying that it wasn't just your comp).
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: Nautilus Shared Folder Status

Postby altair4 on Mon Jun 15, 2009 4:42 pm

I'm following the bug status on lp and see that they asked for more information:
Thanks for reporting this bug. Could you post the output of the
following commands when the emblem disappears, please?

$ net usershare list
$ net usershare info <share name>

Thanks in advance.


net usershare list
documents


net usershare info documents
[documents]
path=/home/tester1/Documents
comment=
usershare_acl=Everyone:F,
guest_ok=y


Although had they followed your link they would have the information they seek.

BTW, I appreciate your efforts, thanks
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby altair4 on Tue Jun 16, 2009 8:42 am

I looked at the status again this morning on lp and saw this response:
Chow Loong Jin wrote 5 hours ago: (permalink)
Hmm, this is very strange. Could you get the output of nautilus in a terminal when reproducing this bug?

I'm embarrassed to admit that I don't know what he's asking for. I made a guess and did this:

(1) "Un-shared" my Documents share
(2) Rebooted - just in case
(3) Started nautilus from a terminal and from within nautilus recreated my Documents share. ( share / write / guest = yes )
(4) Logged off and on again
(5) Launched nautilus from a terminal
(6) Looked at Properties > Share to verify that it was still broke

Note: In this particular case the icon was in an "unshared" state but the properties > share state indicated that it was still shared with guest access enabled but "write" was disabled. As I stated in my original post it takes repeated logins before the properties tab is completely cleared of ticked options. And I was able to write from a remote machine

There was no output in the terminal of any kind.
If they are asking for something else I'll be happy to oblige.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby altair4 on Tue Jun 16, 2009 5:19 pm

Just checking in again from looking at the lp status:
Alright, I see this one. Just to confirm:
* The emblem issue only happens when attempting to share
Documents, but not for other random folders (I can reproduce
this but I can't figure out what's going on)
* The "write" option appearing disabled but actually enabled is a
bug in nautilus-share (I have spotted the faulty code and will
push a patch for this)
* I still can't reproduce the issue where Properties > Share is
disabled upon restarting.
--
Regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer


The emblem issue only happens when attempting to share
Documents, but not for other random folders (I can reproduce
this but I can't figure out what's going on)

That is incorrect. It will happen to any and all folders not just Documents. I just shared Documents, Pictures, and Videos. Logout - login - share icon lost.

Good news on the "write" option.

The Properties > Share tab being cleared of options is tricky. It doesn't completely vanish at a predictable number of reboots or logins. I can appreciate his difficulty on this one.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby emorrp1 on Tue Jun 16, 2009 6:16 pm

Hey, good news, it seems a guy called Daniel has already written a patch for the write option appearing disabled, so it should be posted soon. Also I just noticed that the original bug report (dealing only with the emblem issue) was reported on Intrepid. Can you confirm the various details (e.g. arch, release, package, version etc.) in your specific case?
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: Nautilus Shared Folder Status

Postby altair4 on Wed Jun 17, 2009 7:59 am

> inxi -S
System: Kernel 2.6.28-11-generic i686 (32 bit) Distro Linux Mint 7 Gloria - Main Edition

> apt version nautilus
1:2.26.2-0ubuntu2

> apt version nautilus-share
0.7.2-4ubuntu1
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby altair4 on Wed Jun 17, 2009 10:00 am

From Ubuntu lp:
The results of my tests were that the bug cannot be fixed in
nautilus-share, but resides in the nautilus extensions interface code.
Specifically, the Nautilus Info Provider interface calls the function
provided by an extension for all files/directories except the XDG
standard directories, i.e. Documents, Music, Pictures, etc. If this is
fixed in Nautilus, then the emblem issue would automatically be fixed
without any change in nautilus-share code.

If I understand this correctly ( ? ) it proves what a crummy developer I would make. It appears this only affects standard directories. It never occured to me to create my own directory, share it, and see if the emblem survives a re-login. In fact it does.

So if I understand the rest of the lp thread:

(1) The "emblem bug" has moved from a nautilus-share bug # to a new nautilus bug # ?

(2) The "write option display bug" has been fixed and will show up in mintUpdate at some future date?

(3) Nobody can reproduce - including myself - the "Properties > Share > all options are blank bug" ?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby emorrp1 on Wed Jun 17, 2009 10:07 am

1) no, the bug is still the same, it's just been changed to reflect the fact that it affects nautilus too
2) yes, it's been fixed in the latest code, but whether the fix is backported to jaunty's package I don't know. As it's not a critical bug, you may just have to wait for Helena. EDIT: it's in debian's nautilus-share 0.7.2-8
3) not as far as I can tell (nor do I have a windows share I can test it with).
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: Nautilus Shared Folder Status

Postby emorrp1 on Tue Jun 23, 2009 6:11 am

This has now moved to an upstream gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=586733
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: Nautilus Shared Folder Status

Postby altair4 on Tue Jun 23, 2009 7:31 am

I can understand that moving to an "upstream gnome bug" doesn't mean that this is going to be fixed next Tuesday, but I just have to say that you must have a lot of influence over at Ubuntu. You seemed to have "pulled this out of the fire" at least once ( maybe twice ) - very impressive.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5933
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus Shared Folder Status

Postby emorrp1 on Tue Jun 23, 2009 10:43 am

Well thanks, but I really don't, usually persistence in providing information to the right people is enough to get a bug fixed. With ubuntu they have a team to go through the bug reports, which means that there's an easy go to point, with mintTools we have the mintTool bug forum, and this one to link to launchpad.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: [confirmed] Nautilus Shared Folder Status

Postby miros84 on Thu Aug 27, 2009 2:38 pm

I have the same bug. After every rebooting I have the check the box again then I can write.
What is ubuntu or mint bug.
miros84
Level 2
Level 2
 
Posts: 81
Joined: Thu Aug 27, 2009 5:39 am

Re: [confirmed] Nautilus Shared Folder Status

Postby emorrp1 on Thu Aug 27, 2009 3:01 pm

miros84 wrote:I have the same bug. After every rebooting I have the check the box again then I can write.
What is ubuntu or mint bug.

I doubt it, the bug detailed here is purely cosmetic, not functional. If you have a problem writing to your share, please post in the support section of the forums.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: [confirmed] Nautilus Shared Folder Status

Postby Elyssanub on Fri Nov 06, 2009 11:49 am

hi.
I have a problem related to this. I hope it ok to post here.

I shared my home folder on my laptop by right click>share>guest access. And the used my desktop to access the files I needed.
Then I rebooted my laptop, and now I have the same problem as mentioned here. The folder on my laptop dont appear to be shared, but it is in fact so. My desktop can still access it, and so can everyone else on the network I guess :\ How do I UN-share my home folder now?

Help is much appreciated:)
Elyssanub
Level 1
Level 1
 
Posts: 6
Joined: Sun Oct 19, 2008 1:15 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], I2k4, M0rph3us, Southwind, wilbobob and 34 guests