Bug 76343
| Summary: | Unmount of smb share fails as user | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Paul Moore <pmoore> |
| Component: | mount | Assignee: | Elliot Lee <sopwith> |
| Status: | CLOSED DEFERRED | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-02-19 22:53:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Paul Moore
2002-10-20 13:32:03 UTC
Once the share is mounted, what are the /etc/mtab and /proc/partitions lines for the mount? This behaviour occurs for samba-client-2.2.5-10 but is no longer apparent in samba-client-2.2.7-2 (dated Fri 22 Nov 2002), which was installed on Sun 01 Dec 2002 after his bug was submitted on 20 Oct 2002. The behaviour is now a failure once the mount is initiated by a user and the password is entered. The following message appears: smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1 Running the command 'chmod u+s `which mount`' does not resolve the problem. Running the command 'chmod u+s `which smbmount`' generates error: libsmb based programs must *NOT* be setuid root. 18476: Connection to alive failed SMB connection failed .......but I guess that's a different bug really. It looks like samba's smbmnt program isn't meant to securely handle this use case, so for now the only solution is to mount as root. |