How to find out if a file belong to me? (original) (raw)
Weijun Wang weijun.wang at oracle.com
Tue Feb 5 15:35:08 UTC 2013
- Previous message: hg: jdk8/tl/jaxp: 8007389: Remove uses of _ as identifier in jaxp
- Next message: hg: jdk8/tl/langtools: 8007504: Remove @ignore from tests that no longer need it
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Maybe comparing Files.getAttribute(p, "unix:uid") and UnixSystem().getUid()? Is there a cross-platform way?
I noticed Files.getOwner(), but seems UserPrincipal has no method of its own and all its implementation classes are non public.
Thanks Max
- Previous message: hg: jdk8/tl/jaxp: 8007389: Remove uses of _ as identifier in jaxp
- Next message: hg: jdk8/tl/langtools: 8007504: Remove @ignore from tests that no longer need it
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]