[Bug 214714] [NEW] Upgrading to Hardy destroyed my network shares and when I try to recreate them I get this long complicated error message

Launchpad Bug Tracker 214714 at bugs.launchpad.net
Fri Apr 11 05:42:02 BST 2008


You have been subscribed to a public bug:

I just took the plunge and upgraded from Gutsy to the latest pre-release
version of Hardy. Overall it fixed a bunch of problems for me and I'm
delighted with the new version. I did run into one issue that caused
some problems though:

After I had upgraded to Hardy my folder called "music" was no longer
shared as a SMB windows network share. This means that my Windows
computer (which doesn't have any music stored on it) cannot play any
tunes. I immediately tried to fix this by sharing the folder again but
when I tried I got this really long strange error message that says I
should talk to by system administrator ("yeah right, I wish I could
afford one of those actually :-)". The error message I got was:

'net usershare' returned error 255: net usershare add: cannot share path /media/EXTERNAL_______/music as we are restricted to only sharing directories we own.
	Ask the administrator to add the line "usershare owner only = False" 
	to the [global] section of the smb.conf to allow this.

The folder I'm trying to share over SMB is located on one of those
external USB harddrives and it's formatted as NTFS. That means that when
I mount it in Ubuntu all the files are marked as "owned by root". Now,
in Gutsy I was able to share these folders just fine.

However, it seems that in Hardy some kind of flag has been activated
that prevents me from sharing files that I don't own. Well, clearly it's
my files that are stored on this USB harddrive but it seems that the
ability to share folders from NTFS drives has been lost in Hardy.

There was no obvious workaround for me to solve this problem, except
copying the files to my root partition which is ext2 (this is quite
inconvenient though because my music collection doesn't fit on this
partition). There was also no checkbox that allowed me to type in my
administrator password and override this error message and share the
folder anyway.

I've attached a screenshot to this bug, that illustrates the problem I
ran into.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Upgrading to Hardy destroyed my network shares and when I try to recreate them I get this long complicated error message
https://bugs.edge.launchpad.net/bugs/214714
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list