Bug 5598
Summary: | /sbin/mount.smb needs better permission flexibility | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | regs |
Component: | samba | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | dave |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-11-11 21:07:10 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
regs
1999-10-05 19:09:39 UTC
This won't work with the most recent samba releases (2.0.5+), because smbmount no longer takes *any* permission arguments. From the samba.org cvs tree: new smbmount and smbmnt code that is compatible with /bin/mount so you can do: mount -t smb -o user=USER,passwd=PASSWORD //server/share /path it also supports the following options: user=<arg> SMB username passwd=<arg> SMB password netbiosname=<arg> source NetBIOS name uid=<arg> mount uid or username gid=<arg> mount gid or groupname port=<arg> remote SMB port number fmask=<arg> file umask dmask=<arg> directory umask debug=<arg> debug level ip=<arg> destination host or IP address workgroup=<arg> workgroup on destination sockopt=<arg> TCP socket options scope=<arg> NetBIOS scope guest don't prompt for a password ro mount read-only rw mount read-write ---- cut ---- Does 6.1 support this semantic and allow for setting umasks in /etc/fstab? If so, that's great. My only issue is that I want to be able to set the permissions on the mounted share in fstab... I don't care if it's a mask or explicit permissions. when is that as of? Take a look at http://samba.org/cgi- bin/cvsweb/samba/source/client/smbmnt.c?rev=1.6.2.3&content- type=text/x-cvsweb-markup Full revision history available at http://samba.org/cgi- bin/cvsweb/samba/source/client/smbmnt.c No, we're shipping base 2.0.5a + a couple of small patches. We'll probably have this available in Raw Hide as soon as 2.0.6 ships - we may upgrade it sooner, but I can't be sure. Sounds good to me. However, are you saying that with the current semantic (that I assume shipped with 6.1 (my 6.1 box is sitting at home, not connected to the network for the first time in <I>months</I> (it never fails, does it?))) there is no way to set permissions from fstab? If so, I would think that this would qualify for an errata posting, there not even being a workaround with the stock packages. *** Bug 6173 has been marked as a duplicate of this bug. *** There appears to be an new version of the smbmount program in this distribution which seems to not allow setting of uid, gid, file mode, or dir mode. To make matters worse, the smbmount man page lists the options for the old version. What gives? Is smbmnt used at all now? How to I send it options? Regards, Dave Del Signore This should be fixed in samba-2.0.6-1, which will be in the next Raw Hide release.... |