ITS and UVa logos for printed output

ITS UNIX Systems

UNIX/Linux UID and File Ownership over NFS

File ownership in UNIX is determined by the numeric user id (UID), not the user name or login id. In the password file, each user name is associated with a UID. With rare exceptions, the UID is unique to one user name. When sharing files through NFS, it becomes very important to maintain consistent UID assignments to the same person on more than one system. For this reason, ITS long ago began assigning UIDs and keeping them associated with user names in the whois database. So that we can maintain consistency of UIDs, ITS does not reallocate UIDs when accounts are deleted. People do leave the University and then return, so we retain the name and UID association so that we can reactive the old ids. Since 1999, we have been allocating UIDs which are larger than 16 bits in length (greater than 65535).

Many UNIX implementations support UID lengths of 32 bits (maximum value 4294967295) while others still only support 16-bit UIDs. You must be very careful when sharing files between 16- and 32-bit systems if you have any UIDs which are greater than 65535.

Don't just arbitrarily assign UIDs on a 16-bit system to try to map the 32- to 16-bit quantities. To accomodate the relatively small number of people who require file sharing between 32- and 16-bit UID systems, ITS reserved a group of UIDs in whois to allow us to reassign individuals' UIDs as needed. Contact ITS User Accounts if you require a UID reassignment to allow this kind of file sharing.

Page Updated: 2011-06-29

Standards & Policy

University of Virginia
Information Technology Services
2015 Ivy Road
P.O. Box 400324
Charlottesville, Virginia, 22904-4324 USA

UVa Help Desk: 434-924-HELP (434-924-4357) • 4help@virginia.edu

Page Updated: 2011-06-29; © 2012 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology Services (ITS) website is provided as a public service with the understanding that ITS makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.