java.io.IOException: Not owner
Hi,
I get the following Not Owner error when my java program tries to create a new file on a NAS file storage whose authentication is done by NTFS. The program is run on unix under xyz user id.
The filesystem is mounted with xyz ownership
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at weblogic.security.internal.FileUtils.replace(FileUtils.java:86)
at weblogic.security.internal.SerializedSystemIni.write(SerializedSystemIni.java:113)
at weblogic.security.internal.SerializedSystemIni.<init>(SerializedSystemIni.java:125)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(SerializedSystemIni.java:237)
at com.cpb.common.security.EncryptDecryptPwd.encrypt(EncryptDecryptPwd.java:101)
at com.cpb.common.security.EncryptDecryptPwd.main(EncryptDecryptPwd.java:75)
nested within:
weblogic.security.internal.FileUtilsException: [Security:090192]couldn't create temporary file for SerializedSystemIni.dat , .new, /taos/NA/Stamford/InvestmentResearch/products/PasswordEncryption/v1.0.0b - with nested exception:
[java.io.IOException: Not owner]
at weblogic.security.internal.FileUtils.error(FileUtils.java:24)
at weblogic.security.internal.FileUtils.replace(FileUtils.java:89)
at weblogic.security.internal.SerializedSystemIni.write(SerializedSystemIni.java:113)
at weblogic.security.internal.SerializedSystemIni.<init>(SerializedSystemIni.java:125)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(SerializedSystemIni.java:237)
at com.cpb.common.security.EncryptDecryptPwd.encrypt(EncryptDecryptPwd.java:101)
at com.cpb.common.security.EncryptDecryptPwd.main(EncryptDecryptPwd.java:75)

