Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: permission to modify file

Thread Tools

Re: permission to modify file

Roedy Green
Posts: n/a
On Thu, 28 Aug 2003 13:23:22 +0800, "Jason" <(E-Mail Removed)>
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 for The Java Glossary.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {555F3418-D99E-4E51-800A-6E89CFD8B1D7} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19). Skybuck Flying Windows 64bit 1 06-29-2009 06:17 PM
How do I modify security permission for this error Kue2 Windows 64bit 5 11-12-2007 09:06 AM
How to modify the source of a python file inside a python egg file? Python 2 03-12-2007 12:33 PM
Modify Permission Marin Kostov MCSE 1 12-19-2004 12:48 AM
How to modify a file using C++ file objects Venkat C++ 12 01-08-2004 08:54 AM