howto get permission information of UNIX directory

From: Thorsten Garrels (tgarrels_at_ewetel.net)
Date: 12/22/03

  • Next message: Alex M: "EXCEPTION [TOPLINK-43] problems in Toplink 3.6, Oracle 8.1.7, Weblogic 8.1 SP1"
    Date: Mon, 22 Dec 2003 21:00:00 +0100
    
    

    Hello @ all!

    I'm fairly new to Java so this might be a stupid question but ... however
    ..

    Is there any possibility to gather information about the owner of a Unix
    directory
    and it's permissions ?

    For instance, there is a directory

    drwxr----- 13 java nogroup 297 Dec 20 17:07 test

    and I want to make sure that only the user "java" may access it. Otherwhise
    the data stored within this directory may be corrupted.

    I've had a close look at all Java related documentation I could find but
    either
    Java can't do this job or I simply don't see how to solve this problem.

    perhaps some of you could give me a hand?

    Thanks in advance,

    merry x-mas!

    Thorsten Garrels


  • Next message: Alex M: "EXCEPTION [TOPLINK-43] problems in Toplink 3.6, Oracle 8.1.7, Weblogic 8.1 SP1"

    Relevant Pages

    • Manpages for C library
      ... forgive me, for this is probably a stupid question, but I'm a Java and ... Perl hacker and relatively new to C: In which package can I find the ...
      (Ubuntu)
    • Re: J2EE, what is it?
      ... The EE stands for Enterprise Edition ... follow this link http://java.sun.com/j2ee/ to read all about it and download ... > This is probably a pretty stupid question. ... I have programmed with Java ...
      (comp.lang.java.programmer)
    • Re: newbie: vb.net and .net framework
      ... > this is probably a stupid question but here it is: ... > similar to Java? ... Outgoing mail is certified Virus Free. ... Checked by AVG Anti-Virus. ...
      (microsoft.public.dotnet.languages.vb)
    • Serverlet.jar
      ... I am newbie to java. ... Sorry if am asking a stupid question. ... weblogic has its own servlet.jar like Tomcat does? ...
      (comp.lang.java.help)
    • Making a loop hesitate.
      ... I'm new to java so sorry if this is a stupid question. ... I need the screen to pause each time it ... Prev by Date: ...
      (comp.lang.java.programmer)