Solved

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

Posted on 2008-10-29
6
1,205 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
  • 3
  • 3
6 Comments
 
LVL 23

Expert Comment

by:ComputerTechie
Comment Utility
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
Comment Utility
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
Comment Utility
on /mnt/local *(rw,no_root_squash)  they need more access change to drwxr-xr-x
CT
0
Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

 

Author Comment

by:ovnadmin
Comment Utility
drwxr-xr-x is the access level
0
 
LVL 23

Accepted Solution

by:
ComputerTechie earned 500 total points
Comment Utility
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
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now