Solved

linux, entrprise linux 5, nfs

Posted on 2011-03-23
3
294 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
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 173
installing docker on ubuntu 6 36
winscp where are logs stored 3 52
linux SFTP 8 61
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 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