POS 355
Jan 30, 2014
File Management Paper
Introduction
In this paper, we will discuss how to specify a file protection scheme in UNIX. File management is a critical function in any computer system. From file creation to file protection, proper file management can alleviate common issues allowing a smoother user experience.
Background
UNIX has a very distinct file system. While the file directory system is similar to Windows, the users Graphical Users Interface (GUI) is not. UNIX utilizes a command line prompt where Windows provides an actual GUI to interact inside the file system. The standard double-click icon will not pertain to this paper. UNIX users are primarily system developers, programmers, and administrators. A common computer user, such as my workplace, primarily executes operations in a Windows based environment.
Protection Scheme Traditional In traditional UNIX, “each UNIX user is assigned a unique user identification number (user ID)” (Stallings, 2012) or UID. When a user creates a file, his or her UID is attached to that file and designated as the owner. The user is also a member of a primary group as well as other groups. Allowing 4990 users access to this single file would require a users UID to be a member of either the creator’s primary group or in the group of the file’s parent directory with the proper SetGID permission set. In protecting this file, Bishop states “there are twelve permission bits in the protection word of a file; they customarily divided into groups of three (Bishop, 1987).” The bits represent the encoded permissions for the file’s owner and details how the file protection scheme is set.
Modern
More up to date UNIX and UNIX operating systems such as FreeBSD, OpenBSD, Linux, and Solaris use an access control list for permission setting and file protection. Stallings states “the administrator assigns a list of UNIX user IDs and groups to a file by using the setfac1 command.
References: Bishop, M. (1987). File Protection in UNIX. Retrieved from http://nob.cs.ucdavis.edu/bishop/papers/1987-decpro/filepro.pdf Stallings, W. (2012). Operating Systems: Internals and Design Principles (7th ed.). Boston, MA: Prentice Hall.