ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Java property for setting file permissions on IFS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Java property for setting file permissions on IFS?

    Hello,
    I've noticed in the IBM books for Java development for IBM i that there are the following properties for setting permissions to IFS files, but apparently this only pertains to *PUBLIC

    os400.file.create.auth,
    os400.dir.create.auth

    Is there a property or a way to change these so that you can specify a particular user who's permissions you want to set?

    Thank You

  • #2
    I doubt that there is a system property for individual permissions. I think you'd have to use the SetPermission method of the IFSFile class after the file was created.
    https://www.ibm.com/support/knowledg...ess.Permission)

    Comment

    Working...
    X