Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RHEL 5 mounts cifs weird issue

    Posted on

    Weird issue with a cifs mount. I'm running RHEL 5.11, 2.6.18-416.el5. When I mount the cifs share from command line it mounts with no errors. I can see all the files but I get permission denied when I try to read files, create files, etc. If I access the share with the same credentials using smbclient I can access everything with no errors, (read files, create files, etc.) The server shows the cifs mount as (rw,mand) I've tried adding the sec parameter on command line but it doesn't matter, it mounts with no errors but I get permission denied on anything to do with the files.

    We had this same issue a while back on a couple of other cifs mounts and everything worked perfectly after a reboot. We used the exact same mount command before and after the reboot. I'm trying to figuring why a reboot fixed it. No errors in messages but I would expect that because it mounts with no issues.

    This is the same command we run on all of our cifs mounts on this server, no errors on mounting but permission denied on creating files and reading files. After a reboot it works perfectly.

    mount-t cifs "//server/share$" /mnt/test -o user=myuser,password=mypasswd,dom=mydomain -o uid=user,gid=group,file_mode=0775,dir_mode=0775

    Samba
    samba-3.0.33-3.41.el5_11
    samba-client-3.0.33-3.41.el5_11
    system-config-samba-1.2.41-5.el5
    samba-common-3.0.33-3.41.el5_11

    Red Hat Enterprise Linux Server release 5.11 (Tikanga)

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat