Re: permission to modify file

Discussion in 'Java' started by Roedy Green, Aug 28, 2003.

  1. Roedy Green

    Roedy Green Guest

    On Thu, 28 Aug 2003 13:23:22 +0800, "Jason" <>
    wrote or quoted :

    >How to do this job so some users has the right to modify the file (*.doc),
    >but for the other users, they can view the doc only?


    Java has the File.canRead method. Unix has permissions, but Java does
    not let you play with them directly.

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Aug 28, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Venkat
    Replies:
    12
    Views:
    10,528
    Chris \( Val \)
    Jan 8, 2004
  2. Replies:
    2
    Views:
    729
    Jorge Godoy
    Mar 12, 2007
  3. Umut Tezduyar
    Replies:
    3
    Views:
    162
    Steven Cheng[MSFT]
    Nov 15, 2004
  4. Replies:
    1
    Views:
    145
    Anthony Jones
    Jul 27, 2007
  5. Lin Jingxian
    Replies:
    2
    Views:
    86
    Tad McClellan
    May 9, 2005
Loading...

Share This Page