Bug 110039
Summary: | mounting samba-shares in kernel 2.6 ignores uid & gid | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Ohlsson <christian.ohlsson> |
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | rok.papez, shadbolt |
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: | 2004-09-29 19:40:41 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
Christian Ohlsson
2003-11-14 12:24:02 UTC
This is most likely a kernel bug rather than a bug in Samba. I'm reassigning it to the right folks. I'm seeing the same problem in FC2 with kernel-2.6.6-1.376, using both mount -t smbfs and mount.cifs. The shares are mounting, but uid and gid are not set correctly. Confirmed this problem on FC2 with kernel-2.6.6-1.453.2.3 seems that the directory of the actual mountpoint gets the right uid/gid, its just not inherited to the subdirs and files Confirming bug report and comment #3. $ cat /etc/fedora-release Fedora Core release 2 (Tettnang) $ uname -r 2.6.6-1.435.2.3 uid/gid are set only the parent directory is right. This is a major problem since files have uid/gids from a Solaris box and due to uid/gid colissions smbfs is totaly unusable. ===================== - Without UE, smbfs fakes the uid/gid as given to it by smbmnt and a non-root user can't change it from his own. This is why you can't set uid/gid with 2.4. With UE, smbfs ignores the uid/gid and instead accepts the server values the same way nfs or any network fs with unix like id:s would. Same goes for file modes. ref: (http://securityfocus.com/archive/1/353554/2004-02-06/2004-02-12/0) confirmed again, it's like in comment #3 with FC2 kernel 2.6.8-1.521 a patch is floating around in samba bugzilla : https://bugzilla.samba.org/show_bug.cgi?id=999 Thanks for the bug report. However, Red Hat no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem in the bug tracker at: http://bugzilla.fedora.us/ |