Solved

"Media is write protected" when attempting to modify contents on NFS export mapped through SFU.

Posted on 2008-10-29
6
1,231 Views
Last Modified: 2013-12-02
When attempting to modify contents on a NFS export, mapped via Software Services for Unix, receive error: "Media is write protected". When mapping from client, UID & GID are correct.

- /etc/exports:
/mnt/local *(rw,no_root_squash)

- ls -al:
drwxr-xr-x    3 1067 1039 4096 Oct 24 12:09 directory/

- mount command from XP client:
U:       \\server\mnt\local      UID=1067, GID=1039
                                                rsize=8192, wsize=8192
                                                mount=soft, timeout=0.8
                                                retry=1, locking=yes
                                                fileaccess=755, lang=ANSI
                                                casesensitive=no

From the XP client, the directory is marked read-only. Also, access is extremely slow.

Any help would be greatly appreciated. I've been working on this issue for a week.
0
Comment
Question by:ovnadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 22925735
it look like a users oermission Error.
make sure user has permission to list folder and read and execute.
CT
0
 

Author Comment

by:ovnadmin
ID: 22929023
The user, 1067, has full permission to the directory.

- ls -al:
drwxr-xr-x    3 1067 1039 4096 Oct 24 12:09 directory/
0
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 22930017
on /mnt/local *(rw,no_root_squash)  they need more access change to drwxr-xr-x
CT
0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

Author Comment

by:ovnadmin
ID: 23046286
drwxr-xr-x is the access level
0
 
LVL 23

Accepted Solution

by:
ComputerTechie earned 500 total points
ID: 23051741
After you export the nfs  you come back and change your /etc/exports file, the changes you make may not take effect immediately. You should run the command exportfs -ra to force nfsd to re-read the /etc/exports   file. If you can't find the exportfs command, then you can kill nfsd with the -HUP flag (see the man pages for kill for details).  
 try this check hosts.allow to make sure you haven't forgotten to list any new client machines there.
Also check the host listings on any firewalls you may have set up
 CT
0
 

Author Closing Comment

by:ovnadmin
ID: 31511307
Without making any further permission changes, ran exportfs -ra and remapped the nfs mount in windows. This did the trick. Thank you so much!
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question