General discussion

  • Creator
    Topic
  • #2259322

    fstab mounts Windows share as read-only

    Locked

    by charliespencer ·

    In attempt to access my home shared folder on my Windows 2003 Server / Active Directory domain, I’ve stuck following entry in my /etc/fstab file:

    //server/share$ /home/username/domainshare smbfs credentials=/home/username/.credsfile,workgroup=windows.domain.com,defaults 0 0

    I can view the folder, subdirectories, and contents, but everything is “Read Only”. Is there a parameter I’m missing in the fstab file? I didn’t find anything obvious in the man page.

    I’ve posed this same question on LinuxQuestions but with mixed results. See http://tinyurl.com/rend8 if you’re interested in other suggestions I’ve had with this problem.

All Comments

  • Author
    Replies
    • #3208978

      Reply To: fstab mounts Windows share as read-only

      by jaqui ·

      In reply to fstab mounts Windows share as read-only

      umask=0 gives write access to ordinary users.
      umask=00 read only.
      umask=0022 read only.

      a usefull option is user by putting it there, then non root user can mount the filesystem.
      this makes the contents more likely to be owned by the user.

      • #3208960

        Reply To: fstab mounts Windows share as read-only

        by charliespencer ·

        In reply to Reply To: fstab mounts Windows share as read-only

        No difference; still read-only. Between the suggestions at LinuxQuestions and Jaqui’s, the options portion of the fstab line now looks like:

        rw,credentials=/home/username/.credsfile,workgroup=windows.domain.com,uid=username,gid=username,umask=0,user,defaults

    • #3208924

      Reply To: fstab mounts Windows share as read-only

      by charliespencer ·

      In reply to fstab mounts Windows share as read-only

      The options I posted in reply to Jaqui did not format properly. The entire string is broken into individual options below.

      rw,
      credentials=/home/spenceca/.cred,
      workgroup=windows.domain.com,
      uid=username,
      gid=username,
      umask=0,
      user,
      defaults

    • #3208913

      Reply To: fstab mounts Windows share as read-only

      by jaqui ·

      In reply to fstab mounts Windows share as read-only

      ahh, I bet I know.
      RH9 is the linux version
      and I’ll bet that the fs on the windows system is NTFS.

      NTFS up until fedora 4 release was read only for non root, because the support for it wasn’t solid enough to risk the data corruption.

      • #3208909

        Reply To: fstab mounts Windows share as read-only

        by charliespencer ·

        In reply to Reply To: fstab mounts Windows share as read-only

        BULLSEYE!

        If I log on as root, I can do whatever I want on the share. This problem shoud go away when the Fedora 5 DVD’s arrive later this week. Thanks as alway.

    • #3208908

      Reply To: fstab mounts Windows share as read-only

      by charliespencer ·

      In reply to fstab mounts Windows share as read-only

      This question was closed by the author

Viewing 3 reply threads