Solved

linux, entrprise linux 5, nfs

Posted on 2011-03-23
3
295 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
[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 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 35203102
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
ID: 35203208
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
ID: 35203387
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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