jvoris on 14 Jul 2016 08:22:47 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Question on *RWX authorities to files and folders

On the IBM box I work on, a homegrown custom API does not return a users
authority to a file or folder, but rather - - we make an inquiry if the
user has a specific authority to the object.

So before we place a file into a folder, we ask if the file exists in the
folder, than follow that with the inquiry of Do you have authority ? ,
say, *RWX to the folder.

My question is simple.
Isn't there more than one check that must be made ?
( I think I need to make the check three different times )

 . . to replace a file, doesn't a user need either *X or *RW or *RWX ?  
 . . to add a file to a folder, doesn't a user need either *X or *RW or
*RWX ?

( This is on System i with iOS v7.1 .aka. AS400 )
It is OPENSYS standards .aka. PASE , a UNIX port 

- John Voris
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug