Solved

linux, entrprise linux 5, nfs

Posted on 2011-03-23
3
288 Views
Last Modified: 2012-05-11
Hi,
I have a server that runs Linux Entrprise 5 with nfs shares mounted on a windows server.

For some reason, every time i write new files to the directory they are created with the following credentials: 500 root

is there any way to change that to the id and group that i need?
0
Comment
Question by:vburshteyn
3 Comments
 
LVL 38

Expert Comment

by:wesly_chen
Comment Utility
The setting is on Windows side.
It depends on what NFS client you use on Windows side.

If you use Windows service for Unix , you check this URL
http://technet.microsoft.com/en-us/library/bb463218.aspx

Basically map your Linux UID/GID to your Windows login account
0
 
LVL 4

Expert Comment

by:roemelboemel
Comment Utility
with the SFU NFS Client on windows you have the mount command which has the "fileaccess" option to specify the mode which new iles get assigned.
mount -o fileaccess=<mode>

Open in new window

0
 
LVL 1

Accepted Solution

by:
ToshiBoy earned 500 total points
Comment Utility
Also ensure that you are not mounting with the no_root_squash option checked. You should find that option in your exports or xtabs file. If this option is set all users are mapped as root, giving you the 500, root status. With it unset, you should get the mapping as Wesly Chen explained up there.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 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

10 Experts available now in Live!

Get 1:1 Help Now