General discussion

Locked

fstab mounts Windows share as read-only

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.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to fstab mounts Windows shar ...

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.

Collapse -

by CharlieSpencer In reply to

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

Collapse -

by CharlieSpencer In reply to fstab mounts Windows shar ...

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

Collapse -

by Jaqui In reply to fstab mounts Windows shar ...

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.

Collapse -

by CharlieSpencer In reply to

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.

Collapse -

by CharlieSpencer In reply to fstab mounts Windows shar ...

This question was closed by the author

Back to Linux Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums