#703372 nautilus-share: fails to add user to sambashare group

Package:
nautilus-share
Source:
nautilus-share
Description:
Nautilus extension to share folder using Samba
Submitter:
fred
Date:
2013-09-19 14:18:04 UTC
Severity:
important
#703372#5
Date:
2013-03-18 21:41:15 UTC
From:
To:
Dear Maintainer,

Samba-share does not add the user installing the package (or any other user)
to the group sambashare. Therefore adding usershares is not possible.

Error message:

Samba's testparm returned error 1: Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
	Permission denied
Error loading services.

#703372#10
Date:
2013-09-19 14:13:59 UTC
From:
To:
Hi.

I'm not the maintainer, but maybe you'll allow me to comment on your report.

In Debian, I'm afraid the user doing the install of packages is not a notion that we have : packages are always installed by the administrator, i.e. root.

So there's usually no way in such kind of packages to do the work of adding the proper users to the right group.

This is usually documented in the /usr/share/doc/PACKAGE/README.Debian, when additional such steps are required.

In this case, the README isn't very explicit, maybe (and may contain errors, btw), but suggests such adduser commands.

I'd suggest to close the bug, then.

Hope this helps.

Best regards,