Discussion Locked

fstab mounts Windows share as read-only

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

6 replies

by jaqui

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.

by charliespencer

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

by charliespencer

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

by jaqui

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.

by charliespencer

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.

This discussion is closed to new replies.