[Bug 917906] Re: Can't determine shared folders

Chow Loong Jin hyperair at ubuntu.com
Tue Apr 10 00:44:58 UTC 2012


On 10/04/2012 07:09, masteryoda wrote:
> How about this for a start:
> 
> Instead of just creating the error message, the net usershare command
> should at least delete the corrupt usershare definitions. Still this
> does not solve the remove/rename problem but that is not as severe as
> obsolent share definition.
> 
> 
> I cannot change the code myself but apart from that I am willing to help. If there is something I can do please contact me: hal66rr at lavabit.com
> 


Well for the time being we can open a task against samba, which is where the
`net' command comes from.

  affects ubuntu/samba

-- 
Kind regards,
Loong Jin


** Also affects: samba (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/917906

Title:
  Can't determine shared folders

Status in “nautilus-share” package in Ubuntu:
  Triaged
Status in “samba” package in Ubuntu:
  New
Status in “nautilus-share” package in Debian:
  New

Bug description:
  If I restart my machine after I shared a folder the "shared" icon is
  missing and the context-menu share-option is turned off as if the
  folder isn't shared anymore. If I access the folder from another
  computer over the network the folder is still shared. So I can't
  determine from within the system which folders are shared and can't
  really unshare them.

  Workaround: Look which folders are shared from another computer/vm,
  share them again and deselect sharing without rebooting.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: nautilus-share 0.7.3-1ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Jan 17 22:58:10 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus-share
  UpgradeStatus: No upgrade log present (probably fresh install)


  [edit]

  The bug occurs when the result of the command "net usershare info" ends with an error message, which is caused e.g. by deleting (or moving/renaming) a shared folder, which name goes last in the alphabet in relation to other shared folders. (exception seems to be shares that begin with the letter "a". Shares that begin with "a" are always listed last)
  This is because the share definition in /var/lib/samba/usershares will not be removed after deleting a shared folder.
  The bug can be fixed if the (alphabetically last) obsolent share definition is deleted.

  This Bug affects all Distributions using gnome (testet on Ubuntu 10.04 and
  Ubuntu 12.04 beta-2 as well as  the current Debian stable release.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/917906/+subscriptions




More information about the foundations-bugs mailing list