Can't access a local network share (folder) from a window computer

Bug #1366762 reported by teo1978 on 2014-09-08
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Undecided
Unassigned

Bug Description

On the Ubuntu 14.04 computer:
- open a folder in Nautilus
- right-click on a subfolder
- select "Local Network Share"
- Check all the checkboxes: "Share this folder", "allow others to create...", "guest access"
- to the prompt whether to allow Nautilus to modify permissions automatically, say yes
- save.

From a window computer connected to the same local network:
- go to Network
- the Ubuntu computer is listed. Double click it
- double click on the folder that you have shared before

Expected: should be able to open the folder
Observed: window gives error: access denied.

I have another shared folder within the same filesystem in the same disk in the same computer, which I created ages ago, and that one works fine. All the settings are apparently identical.

Do I perhaps need to reboot (or restart the samba server in some way) for the changes to be effective? If that is the case, it's a bug too.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.1.6+dfsg-1ubuntu2.14.04.2
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 8 13:09:42 2014
InstallationDate: Installed on 2013-10-11 (331 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
NmbdLog:

SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
UbuntuFailedConnect: Yes
UpgradeStatus: Upgraded to trusty on 2014-05-24 (106 days ago)

teo1978 (teo8976) wrote :
teo1978 (teo8976) wrote :
teo1978 (teo8976) wrote :

Now I notice where it says "Share name is too long". That's a ridiculous way of displaying a warning. If the too-long name is really a problem, the warning should be highlighted in red with a warning icon (e.g. a danger sign), and should not allow to save changes. If it isn't an issue, then it shouldn't be displayed at all.

I changed the share name to a shorter one and the issue persists.

teo1978 (teo8976) wrote :

From the log:

process_usershare_file: stat of /var/lib/samba/usershares/bustia failed. Permission denied
[2014/09/08 13:07:53.738319, 0] ../source3/param/loadparm.c:4365(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/XXXXXXX. Permission denied
[2014/09/08 13:08:07.618554, 0] ../source3/param/loadparm.c:4365(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/XXXXXXX failed. Permission denied
[2014/09/08 13:08:33.790795, 0] ../source3/param/loadparm.c:4365(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/bustia failed. Permission denied
[2014/09/08 13:16:25.335161, 0] ../source3/param/loadparm.c:4365(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/bustia failed. Permission denied
[2014/09/08 13:16:25.736100, 0] ../source3/param/loadparm.c:4365(process_usershare_file)

"bustia" is the one that does work.
"XXXXXXX" is the one that doesn't work.

Surprisingly, both show the same "permission denied" errors.

teo1978 (teo8976) wrote :

And restarting the samba service doesn't help.

Matias Pecchia (mabeett) on 2015-06-01
Changed in samba (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers