Results 1 to 1 of 1
  1. #1
    oriom is offline Member
    Join Date
    Mar 2011
    Rep Power

    Default File Sharing - Permissions

    So im just trying to setup a simple bit of file sharing in my public/shared area between my mac and laptop. The long and short of the code is that my mac will create a text file and my laptop will read it and then update it, however im having some issues with writing back to the file.

    I am receiving an access denied error when trying to write the data to the file. The file is create dynamically so I need Java to create the file. The file is being created with a "read only" privilege, even though the whole shared folder has "read and write" privileges, so I can't quite understand why this is ignored - it seems kind of counter-intuititve.

    Basically I am asking if there is for me to be able to update a file created by another machine.

    I'm baffled as to why I havent been able to do this as it something so trivial. Maybe I'm missing something completely obvious or maybe there is a simple method I don't know of, either way any help will be greatly appreciated

    If you want the code I'll post it but it is only very simple stuff.

    Many Thanks,

    Last edited by oriom; 03-06-2011 at 02:13 AM.

Similar Threads

  1. filesystem permissions
    By krater999 in forum Advanced Java
    Replies: 1
    Last Post: 01-17-2011, 06:24 AM
  2. Java and file Windows file permissions
    By danborgir in forum Advanced Java
    Replies: 1
    Last Post: 01-11-2011, 08:04 PM
  3. p2p file sharing program
    By Mojito_gr in forum Networking
    Replies: 1
    Last Post: 01-02-2010, 07:23 PM
  4. How to set permissions for a JApplet
    By Gatts79 in forum Java Applets
    Replies: 2
    Last Post: 08-12-2009, 01:54 PM
  5. Accessing file without sharing - urgent
    By nathanr_kamal in forum Networking
    Replies: 3
    Last Post: 07-17-2008, 04:29 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts