| Summary: | mount attempt returning -EACCES before touching fs-specific code | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jeff Layton <jlayton> |
| Component: | cifs-utils | Assignee: | Jeff Layton <jlayton> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | bfields, erik, gansalmon, itamar, jiali, jlayton, jonathan, madhu.chinakonda, rwheeler, ssorce, steved |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 675761 | Environment: | |
| Last Closed: | 2011-12-06 12:11:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 675761 | ||
| Bug Blocks: | |||
|
Description
Jeff Layton
2011-02-09 21:05:39 UTC
This is almost certainly a problem for RHEL6 too, so going ahead and cloning this for it as well and putting it on 6.2 proposed list. Patch committed in cifs-utils-4.8.1-3.el6. This bug is reproduced on cifs-utils-4.8.1-2.el6, and verified on cifs-utils-4.8.1-3.el6. The detail is listed below: [root@ibm-hs21-01 ~]# ll /mnt/test/mptest -d drwx------. 2 test test 0 Aug 15 05:12 /mnt/test/mptest ======reproduce [root@ibm-hs21-01 ~]# rpm -q cifs-utils cifs-utils-4.8.1-2.el6.x86_64 [root@ibm-hs21-01 ~]# mount.cifs //localhost/test /mnt/test/mptest -o user=root,password=redhat mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@ibm-hs21-01 ~]# chmod o+x /mnt/test/mptest [root@ibm-hs21-01 ~]# mount.cifs //localhost/test /mnt/test/mptest -o user=root,password=redhat [root@ibm-hs21-01 ~]# mount | grep /mnt/test/mptest //localhost/test on /mnt/test/mptest type cifs (rw) ======verify [root@ibm-hs21-01 ~]# rpm -q cifs-utils cifs-utils-4.8.1-3.el6.x86_64 [root@ibm-hs21-01 ~]# ll -d /mnt/test/mptest drwx------. 2 test test 0 Aug 15 05:12 /mnt/test/mptest [root@ibm-hs21-01 ~]# mount.cifs //localhost/test /mnt/test/mptest -o user=root,password=redhat [root@ibm-hs21-01 ~]# mount | grep /mnt/test/mptest //localhost/test on /mnt/test/mptest type cifs (rw) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1585.html |