I have an OMVS question. Is having read, write and execute permissions of an omvs directory equivalent to owner of that directory???? What is the differnt between owner and having read, write and execute permissions on a particular directory??
Joined: 06 Jun 2008 Posts: 8231 Location: Dubuque, Iowa, USA
The owner of a Unix System Services directory is the Unix user id of the person who defined the directory. The owner (or superusers) can assign permissions to the directory and files within the directory. Permissions of 777 assigned to a directory allow anyone using Unix System Services to read, write, and find files in that directory. However, the user id being used to read, write, or find files does not have to be the user id of the owner -- the person might be able to do all of these things but not be able to change permissions on any files in the directory. This can lead to issues where an FTP, for example, runs to create a file in a directory -- which sets the permissions to 640 by default -- but someone who is not the owner needs to change the permissions. Oops, problem there.