Read/write system lso

Hello,
is it possible to read and write from/to system local shared object?
let's say I want to set turn on microphone or turn off hardware acceleration with a single user click and without entering to the flash settings menu.

Hi,
I specifically interested in turning on/off hardware acceleration with an actionscript.
I made lot's of tests and they show that hardware acceleration state is stored in the system lso. the only way to turn on/off hardware acceleration is to set/unset in the flash settings menu.
for Mac system lso is located in /Users/<username>/Library/Preferences/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys/settings.sol
SharedObject - Adobe ActionScript® 3 (AS3 ) API Reference does not mention how to work with system lso, so I was wondering whatever this is possible.

Similar Messages

  • System Folder errors after I changed all permissions on HD to read & write

    Hi,
    Two things may have caused probs on my new 2010 iMac (Snow Leopard), and Applecare is shut so I would really appreciate some help as I have urgent work.
    1) INCORRECT PERMISSIONS
    I have been stupid. I clicked on Macintosh HD and changed all permissions to read & write because I wanted to be sure I could open and edit all documents on other computers.
    I ran Disk Utility Repair Permissions from the install disc, but I am still getting system error messages, and my HP printer won't work.
    The first message, in Repair Permissions, said: Warning: SUID file System/Library/Cores has been modified and will not be repaired. I have read a support doc on this which says no need to worry but I don't like it and would like to fix this.
    More importantly, my HP printer won't work, displays error beside the document in print dialogue box.
    Deleting the printer and readding it didn't work, so I downloaded new drivers and tried to install them, which is when I got the second system error message: System extension System/Library/Extensions/BJUSBLoad.kext was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for an update.
    I checked the permissions on the file and they were still wrong despite Repair Permissions, allowing everyone to read & write. So I have now clicked on the entire System folder and changed the permissions to: System read & write, admin read only, everyone read only.
    Will this fix it or do I need to do something else, such as check ownership, to make sure all permissions on the computer are now correct?
    2) MEMORY STICK SHUT DOWN MY IMAC
    Additionally (though I don't think this had anything to do with my problems), I inserted a Sandisk USB memory stick the other day and it immediately shut down the computer. When I inserted it into my Macbook it initially rejected it and gave me a message saying the device wanted too much power so it had ejected it to prevent damage to my computer. When I tried again it was OK. I totally reformatted the stick in case there was something harmful on it, but should I now bin the stick as faulty? Scared to use it again.
    3) IS IT BEST TO REINSTALL ENTIRE SOFTWARE?
    If I do a reinstall of all the software from the install disc, will it wipe out all my data, such as Mail, documents, bookmarks and other apps?
    I would back-up, but if I try and back up files on my external drive it will automatically do a Time Machine back-up and I don't want to do that in case it backs-up all the corrupted files. Otherwise, I wouldn't mind starting again just to be sure all is well.
    Expert advice would be very much appreciated.
    Thank you
    Sarah

    Oh, silly really. I was in a hurry and working on docs that I needed to take to the office and open on another computer there.
    But when I checked the permissions on the doc it said I could read & write but everyone else was read only.
    I thought if I opened it on another machine I'd be stuck with read only access and not be able to work on there. I think I couldn't change it, so I thought to avoid any future problems like that I would change everything on machine!
    Yikes. Won't do that again
    Sarah

  • ICalExternalSync locks up my system with disk read/writes -  any fixes?

    When I allow ICalExternalSync to run it completely hangs up my system by hogging a gig of real memory and nearly 3 gigs of virtual memory. It also floods the system with continuous disk read/writes - which stop immediately when I quit the process.
    I've learned to shut ICalExternalSync down in "Activity Monitor" as soon as I've synced my calenders.
    Anyone else have this problem and a fix?

    I thought so too, but after doing that, the total download size for the updates was bigger than the space left. It was 2.8 gigs of downloads, and the root partition was 5.6 gigs full out of 7.56 gigs.
    I've never experienced such a huge update before! It's been a few hours and i'm still fixing it. There's literally hundreds of thousands of files that are now giving me "file exists in filesystem" errors so i'm making a script to delete all of those.
    To get an idea of how many files there was, i outputted the errors to a file, opened it up with less, then pressed and held page down for almost 2 minutes, didn't reach the bottom, so ended up just pressing end.
    Anyways, I'm going to post the scripts so it in case anyone encounters this critical problem, they can follow some simple instructions and be on their way.

  • Unusual disk read write and system lockup - Gen 1 MacPro dual Intel

    I have had this issue for a while - but I think it is getting worse (or I'm just more tired of it). The disks start reading/writing ( I can see it in Activity Monitor) and continue for several minutes. Meanwhile, the system is fully occupied and cant be used.
    In the Activity Monitor window, I notice that ICalExternalSync is using up nearly a gig or memory and 2 gigs virtual memory - is this normal?
    Also, the kernal_task item is using up 58 threads, another gig of virtual memory but just 80mb of real memory. Just seems odd.
    Any suggestions?
    Phil
    Model Name: Mac Pro
    Model Identifier: MacPro1,1
    Processor Name: Dual-Core Intel Xeon
    Processor Speed: 2.66 GHz
    Number Of Processors: 2
    Total Number Of Cores: 4
    L2 Cache (per processor): 4 MB
    Memory: 3 GB
    Bus Speed: 1.33 GHz
    Boot ROM Version: MP11.005C.B08
    SMC Version (system): 1.7f10

    I answered my own question - it stopped when I quit IcalExternal sync using the Activity Monitor - so now the answer is why is this service flooding my system with disk read/writes?

  • How do you create default Read/Write Permissions for more than 1 user?

    My wife and I share an iMac, but use separate User accounts for separate mail accounts, etc.
    However, we have a business where we both need to have access to the same files and both have Read/Write permissions on when one of us creates a new file/folder.
    By default new files and folders grant Read/Write to the creator of the new file/folder, and read-only to the Group "Staff" in our own accounts or "Wheel" in the /Users/Public/ folder, and read-only to Everyone.
    We are both administrators on the machine, and I know we can manually override the settings for a particular file/folder by changing the permissions, but I would like to set things up so that the Read/Write persmissions are assigned for both of us in the folder for that holds our business files.
    It is only the 2 of us on the machine, we trust each other and need to have complete access to these many files that we share. I have archiveing programs running so I can get back old versions if we need that, so I'm not worried about us overwriting the file with bad info. I'm more concerned with us having duplicates that are not up to date in our respective user accounts.
    Here is what I have tried so far:
    1. I tried to just set the persmissions of the containing folder with us both having read/write persmissions, and applied that to all containing elements.
    RESULT -> This did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    2. I tried using Sandbox ( http://www.mikey-san.net/sandbox/ ) to set the inheritance of the folder using the methods laid out at http://forums.macosxhints.com/showthread.php?t=93742
    RESULT -> Still this did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    3. I have set the umask to 002 ( http://support.apple.com/kb/HT2202 ) so that new files and folders have a default permission that gives the default group Read/Write permissions. This unfortunately changes the default for the entire computer, not just a give folder.
    I then had to add wife's user account to the "Staff" group because for some reason her account was not included in that. I think this is due to the fact that her account was ported into the computer when we upgraded, where as mine was created new. I read something about that somewhere, but don't recall where now. I discovered what groups we were each in by using the Terminal and typing in "groups username" where username was the user I was checking on.
    I added my wife to the "Staff" group, and both of us to the "Wheel" group using the procedures I found at
    http://discussions.apple.com/thread.jspa?messageID=8765421&#8765421
    RESULT -> I could create a new file using TextEdit and save it anywhere in my account and it would have the permissions: My Username - Read/Write, "Staff" or "Wheel" (depending on where I saved it) - Read/Write, Everyone - Read Only, as expected from the default umask.
    I could then switch over to my wife's account, open the file, edited it, and save it, but then the permissions changed to: Her Username - Read/Write, (unknown) - Read/Write, Everyone - Read Only.
    And when I switch back to my account, now I can open the file, but I can't save it with my edits.
    I'm at my wits end with this, and I can believe it is impossible to create a common folder that we can both put files in to have Read/Write permissions on like a True Shared Folder. Anyone who has used windows knows what you can do with the Shared folder in that operating system, ie. Anyone with access can do anything with those files.
    So if anyone can provide me some insight on how to accomplish what I really want to do here and help me get my system back to remove the things it seems like I have screwed up, I greatly appreciate it.
    I tried to give as detailed a description of the problem and what I have done as possible, without being to long winded, but if you need to know anything else to help me, please ask, I certainly won't be offended!
    Thanks In Advance!
    Steve

    Thanks again, V.K., for your assistance and especially for the very prompt responses.
    I was unaware that I could create a volume on the HD non-destructively using disk utility. This may then turn out to be the better solution after all, but I will have to free up space on this HD and try that.
    Also, I was obviously unaware of the special treatment of file creation by TextEdit. I have been using this to test my various settings, and so the inheritance of ACLs has probably been working properly, I just have been testing it incorrectly. URGH!
    I created a file from Word in my wife's account, and it properly inherited the permissions of the company folder: barara - Custom, steve - Custom, barara - Read/Write, admin - Read Only, Everyone - Read Only
    I tried doing the chmod commands on $TMPDIR for both of us from each of our accounts, but I still have the same behavior for TextEdit files though.
    I changed the group on your shared folder to admin from wheel as you instructed with chgrp. I had already changed the umask to 002, and I just changed it back to 022 because it didn't seem to help. But now I know my testing was faulty. I will leave it this way though because I don't think it will be necessary to have it set to 002.
    I do apparently still have a problem though, probably as a result of all the things I have tried to get this work while I was testing incorrectly with TextEdit.
    I have just discovered that the "unknown user" only appears when I create the a file from my wife's account. It happens with any file or folder I create in her account, and it exists for very old files and folders that were migrated from the old computer. i.e. new and old files and foders have permissions: barara - Read/Write, unknown user - Read Only, Everyone - Read Only
    Apparently the unknown user gets the default permissions of a group, as the umask is currently set to 022 and unknown user now gets Read Only permissions on new items, but when I had umask set to 002, the unknown user got Read/Write permissions on new items.
    I realize this is now taking this thread in a different direction, but perhaps you know what might be the cause of this and how to correct or at least know where to point me to get the answer.
    Also, do you happen to know how to remove users from groups? I added myself and my wife to the Wheel group because that kept showing up as the default group for folders in /Users/Shared
    Thanks for your help on this, I just don't know how else one can learn these little "gotchas" without assistance from people like you!
    Steve

  • Windows Server 2012 - Hyper-V - iSCSI SAN - All Hyper-V Guests stops responding and extensive disk read/write

    We have a problem with one of our deployments of Windows Server 2012 Hyper-V with a 2 node cluster connected to a iSCSI SAN.
    Our setup:
    Hosts - Both run Windows Server 2012 Standard and are clustered.
    HP ProLiant G7, 24 GB RAM, 2 teamed NIC dedicated to Virtual Machines and Management, 2 teamed NIC dedicated to iSCSI storage. - This is the primary host and normaly all VMs run on this host.
    HP ProLiant G5, 20 GB RAM, 1 NIC dedicated to Virtual Machines and Management, 2 teamed NIC dedicated to iSCSI storage. - This is the secondary host that and is intended to be used in case of failure of the primary host.
    We have no antivirus on the hosts and the scheduled ShadowCopy (previous version of files) is switched of.
    iSCSI SAN:
    QNAP NAS TS-869 Pro, 8 INTEL SSDSA2CW160G3 160 GB i a RAID 5 with a Host Spare. 2 Teamed NIC.
    Switch:
    DLINK DGS-1210-16 - Both the network cards of the Hosts that are dedicated to the Storage and the Storage itself are connected to the same switch and nothing else is connected to this switch.
    Virtual Machines:
    3 Windows Server 2012 Standard - 1 DC, 1 FileServer, 1 Application Server.
    1 Windows Server 2008 Standard Exchange Server.
    All VMs are using dynamic disks (as recommended by Microsoft).
    Updates
    We have applied the most resent updates to the Hosts, WMs and iSCSI SAN about 3 weeks ago with no change in our problem and we continually update the setup.
    Normal operation
    Normally this setup works just fine and we see no real difference in speed in startup, file copy and processing speed in LoB applications of this setup compared to a single host with 2 10000 RPM Disks. Normal network speed is 10-200 Mbit, but occasionally
    we see speeds up to 400 Mbit/s of combined read/write for instance during file repair
    Our Problem
    Our problem is that for some reason all of the VMs stops responding or responds very slowly and you can for instance not send CTRL-ALT-DEL to a VM in the Hyper-V console, or for instance start task manager when already logged in.
    Symptoms (i.e. this happens, or does not happen, at the same time)
    I we look at resource monitor on the host then we see that there is often an extensive read from a VHDX of one of the VMs (40-60 Mbyte/s) and a combined write speed to many files in \HarddiskVolume5\System Volume Information\{<someguid and no file extension>}.
    See iamge below.
    The combined network speed to the iSCSI SAN is about 500-600 Mbit/s.
    When this happens it is usually during and after a VSS ShadowCopy backup, but has also happens during hours where no backup should be running (i.e. during daytime when the backup has finished hours ago according to the log files). There is however
    not that extensive writes to the backup file that is created on an external hard drive and this does not seem to happen during all backups (we have manually checked a few times, but it is hard to say since this error does not seem leave any traces in event
    viewer).
    We cannot find any indication that the VMs themself detect any problem and we see no increase of errors (for example storage related errors) in the eventlog inside the VMs.
    The QNAP uses about 50% processing Power on all cores.
    We see no dropped packets on the switch.
    (I have split the image to save horizontal space).
    Unable to recreate the problem / find definitive trigger
    We have not succeeded in recreating the problem manually by, for instance, running chkdsk or defrag in VM and Hosts, copy and remove large files to VMs, running CPU and Disk intensive operations inside a VM (for instance scan and repair a database file).
    Questions
    Why does all VMs stop responding and why is there such intensive Read/Writes to the iSCSI SAN?
    Could it be anything in our setup that cannot handle all the read/write requests? For instance the iSCSI SAN, the hosts, etc?
    What can we do about this? Should we use MultiPath IO instead of NIC teaming to the SAN, limit bandwith to the SAN, etc?

    Hi,
    > All VMs are using dynamic disks (as recommended by Microsoft).
    If this is a testing environment, it’s okay, but if this a production environment, it’s not recommended. Fixed VHDs are recommended for production instead of dynamically expanding or differencing VHDs.
    Hyper-V: Dynamic virtual hard disks are not recommended for virtual machines that run server workloads in a production environment
    http://technet.microsoft.com/en-us/library/ee941151(v=WS.10).aspx
    > This is the primary host and normaly all VMs run on this host.
    According to your posting, we know that you have Cluster Shared Volumes in the Hyper-V cluster, but why not distribute your VMs into two Hyper-V hosts.
    Use Cluster Shared Volumes in a Windows Server 2012 Failover Cluster
    http://technet.microsoft.com/en-us/library/jj612868.aspx
    > 2 teamed NIC dedicated to iSCSI storage.
    Use Microsoft MultiPath IO (MPIO) to manage multiple paths to iSCSI storage. Microsoft does not support teaming on network adapters that are used to connect to iSCSI-based storage devices. (At least it’s not supported until Windows Server 2008 R2. Although
    Windows Server 2012 has built-in network teaming feature, I don’t article which declare that Windows Server 2012 network teaming support iSCSI connection)
    Understanding Requirements for Failover Clusters
    http://technet.microsoft.com/en-us/library/cc771404.aspx
    > I have seen using MPIO suggests using different subnets, is this a requirement for using MPIO
    > or is this just a way to make sure that you do not run out of IP adressess?
    What I found is: if it is possible, isolate the iSCSI and data networks that reside on the same switch infrastructure through the use of VLANs and separate subnets. Redundant network paths from the server to the storage system via MPIO will maximize availability
    and performance. Of course you can set these two NICs in separate subnets, but I don’t think it is necessary.
    > Why should it be better to not have dedicated wireing for iSCSI and Management?
    It is recommended that the iSCSI SAN network be separated (logically or physically) from the data network workloads. This ‘best practice’ network configuration optimizes performance and reliability.
    Check that and modify cluster configuration, monitor it and give us feedback for further troubleshooting.
    For more information please refer to following MS articles:
    Volume Shadow Copy Service
    http://technet.microsoft.com/en-us/library/ee923636(WS.10).aspx
    Support for Multipath I/O (MPIO)
    http://technet.microsoft.com/en-us/library/cc770294.aspx
    Deployments and Tests in an iSCSI SAN
    http://technet.microsoft.com/en-US/library/bb649502(v=SQL.90).aspx
    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Sharing Mac iTunes library with Windows PC (I want to be able to read/write)

    Greetings from a new Mac user. I recently purchased a 27" iMAC running OS X 10.7.3. This iMac is now connected to my home network/workgroup.
    - I want to build a new iTunes Library on my 1TB internal Mac HD.
    - I want my 3 non Mac Machines (1 XP Prof and 2 Windows 7 Home) to be able to view the contents of my new (not yet built) iTunes Library resident on my iMac and of course be able to
    - play that content.
    - have play counts from my Windows-based be saved back to my iTunes Library.
    - be able to rate a song from any computer (Mac or Windows) within this iTunes Library and have that rating saved back to this iTunes Library.
    I don't want to have to rely on iTunes "Shared Library" function. In other words I want all PCs to be able to read/write to the same iTunes Library file.
    Before I purchased my iMac, my iTunes Library existed on one of my Windows-file system external drives. The pre-requisites for allowing multiple Windows PCs to access/share/write to the same iTunes Library was to:
    - share the Windows folder on the external drive in which the iTunes Library file was stored (allowing network users to be able to change the files), and
    - make sure all Windows-based PCs ran the same iTunes software version.
    Assume: I don't want to change the version of Windows iTunes software from the currently installed 10.5.0 version.
    Question 1: Can my Windows PCs access and utilize the same iTunes library file that I plan to build on my iMac hard drive?
    Question 2: What older version of Mac iTunes software should I install on my iMac in order to allow the Windows PCs to access and use the iMacs iTunes library file?
    Any help would be appreciated. Thanks.

    Hmmm...  thanks for the reply.  This of course, yields another question.  When you say 'you could format to FAT32 which both can use'; do you mean format the iTunes Hard drive on which my iTunes music now resides?  If so, this would mean I would need to copy the music off the internal iMac hard drive, then format the drive to FAT32, then copy the music back.
    Is this what you meant?

  • How do is get back to Read & Write permissions on HDs ?

    Hi gang,
    I was trying to set up one central folder for 4 iTune users (accounts) in our household.
    One of the blogs said put in "Shared" folder and set permissions to "Read & Write".  I tried but on "Everybody" is does not offer the "R&W" option, just "Read".  They also said to be sure you clicked "Apply to Enclosed Items" in the drop down.  Although I could not set "Everyone" to "R&W", I clicked on "Apply to Enclosed Items" and the hard drives clicked for at least 15 minutes.
    Afterward I got a pop up that said...   System Extension "/System/Library/Extension/ACard6280ATA.kext" was installed improperly and can be used.  Try reinstalling.  and an OK button to click.  I clicked OK and at least 100 more popup appeared, one after the other as I clicked OK.   They all had the same basic message except the info after  /System/Library/Extension/, it kept changing slightly on each new popup.
    The big problem is I now have three of my four internal hard drives locked to my access and all they say custom on the permissions Privilege window.   Only my main HD is working, thank God.
    How do I get back to Read & Write on Privileges, and on all Hard Drives?
    Thanks for any help, I just made the move to MAC but have good background with windows operating system.
    Gary

    Thanks for all the reply's, I really appreciate your time.  I have Apple Care so I worked with Apple tech last night and today, but they had to pass problem on to their engineers.  They did a great job trying to help and spent 2 hours helping me input in code through the Terminal screen.  It helped a little, but we still can access drive 2, 3 and 4 due to the global permissions that were changed.   All in all, it looks like we have to reinstall the OS on a washed HD.
    I found out that the Repair program (Disk Utilities) only repairs permissions that were created after the initial set up.  It won't correct original setting and that's what happened when I clicked on "Apply to Enclosed Items" at the root level.  Likewise Time machine does not clone the main operating system so a restore would probably not get all the pieces back in their proper places.
    I was thinking of doing a reinstall of the whole Mac HD drive (boot drive) with an exact copy I made with Carbon Cloner a month back, but the techs seem to think they will have to work on of the 4 individual HD I have.
    Thanks again for the quick responses, I will let you know what happens in a few days.
    Gary

  • How to: Create a Program with the rs232 Device -Magcard Reader Writer

    Hi Guys!. 
    Im New in using VB.net 2010 express 
    and it is my first time to do a project with a device needed to incorporate with it.
    I have a device Magnetic Card Reader writer and a i want to create a connection and UI 
    that interacts with the device alone without using the default application and process.start command.
    the main problem i want to be solve is to perform the connection and commands on a single form by allowing the user to read and write the data on a single form. 
    what i want to do is to create a main form that executes the commands needed to activate the event or allows the user to use the device w/o using the software. with the use of text box and button, while the read executes automatically if the card is swipe
    to it end fill out the focus textbox given.
    i have here a document that discuss commands for the device and i think it is needed to successfully connect all the process from device to the system
    can you help me to do this project? tnx.. :)

    Hi,
    Welcome to MSDN.
    I am afraid that this is not the proper forum for this issue, since each  Magnetic Card Reader writer has its API for developers.
    You could consider getting supports by connecting with the publisher of that Magnetic Card Reader writer which should have the sample about using its API.
    In addition, I did a research, you could refer to
    Build a .NET Class for Serial Device Communications with P/Invoke to get how to communicate with that serial device.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    Hi j,
    I don't know if this will work, but I'd try logging in to an admin account, going to your main library (not user library), opening it, opening Application Support, selecting iPhoto, hold down the command key and press i, click on the lock in the lower left, entering the password and making sure you have Read & Write privileges for System and Admin.

  • Lion server file sharing issue with windows API read/write ini file (GetPrivateProfileString)

    Hello,
    I try to config lion server as file server for a windows application we use at work. All other computers are windows 7 or XP, lion server is the only mac. I choose lion server because it's size, quality and personal love of apple products.
    10.7.2 lion server's samba file sharing works almost perfectly with all my windows machines, I can copy, delete, modify any text files or office files without any issue, but the most important windows application for my business doesn't work with samba file sharing. After some digging, I found it is because windows program can't read or write INI file stored on lion share. Windows API GetPrivateProfileString always returns empty if the INI file is store on lion share.
    You can download a small application for read/write windows INI file from codeproject.com to test this problem:
    http://www.codeproject.com/KB/files/ini.aspx
    I can open/edit the in file using any text editor without any problem. The only problem is with those windows APIs. ACL is turned on for my lion share and assigned "delete" rights to samba users.
    I install samba3 on the same server; it works perfectly with windows API. My windows program also works. Looks like there is something wrong with lion server's sambax.
    I'd prefer to use built-in samba even I have samba3 working. Built-in samba is very immature right now, but considered how young it is, I will give apple some time to make it mature.
    Does anyone have same issue or knows how to fix it?
    Thanks,
    Michael.

    All the memory is fine. The server rarely if ever goes down when there are only around 10-12 users connected. When there are 20+ users connected and working heavily it goes down often. When I say working heavily, I mean they are transferring huge files to the SAN (100GB+), sometimes 5 at a time per user, and there are a bunch of others who are reading large video files at a minimum of 220MB/sec from the SAN.
    Though this worked on Snow Leopard without any issues, Lion just doesn't seem to be able to handle it. The odd thing is, on Snow Leopard there was only a single 1GB ethernet connection to a NAS system, whereas with Lion we have a much more powerful machine with a 6-port 10GB ethernet card and a 4 lane 8GB fiber card to a true SAN. You would think that the newer scenario with Lion would handle far more users with ease.
    So far, very disappointing with regards to Lion's file serving performance.

  • File read/write in Oracle JVM

    Are there any known issues around file read/write in Oracle JVM. I finally got around the issue of getting the error that says no permission is there by giving <<ALL FILES>> option, but still I don't see a file being created. Any help is appreciated.
    Code:
    try{
    fwriter = new PrintWriter(new FileOutputStream("debugLog.txt",true));
    } catch (IOException ioe) {
    System.err.println("IO Exception for Output File" + ioe.getMessage());
    Thanks.
    -Mujib

    A couple of suggestions:
    1. (Please don't be offended...) I assume you have some stuff like:
    fwriter.println("hello");
    fwriter.flush();
    fwriter.close();
    in your try block?
    2. Try catching FileNotFoundException and SecurityException also.
    3. Try providing a full path on the file just to make sure it's not buried somewhere odd.
    John H.

  • HT1549 How do I read write to an external drive?  I am under admin account and cannot read write to any folder on the external drive.

    I have a Mac Mini with Mavericks installed, as well as a PC running Windows 7.  I want to be able to read write from both computers to an external drive on the Mac.  I created 2 folders on the drive and named them Movies, and TV Shows.  The content of those folders are the respective files. I set up both folders to be shared on the Mac under system preferences, and then mapped the drives on the PC.  I also created a user account with admin privileges on the mac that matched my PC.   I then copied a Music folder to the root drive instead of using external, and set up sharing as well.  File Sharing is selected for all three folders, however the music folder is the only one which allows me to change the permissions to allow read write to everyone, or to create individual user accounts to connect with read write permissions.  The options to add users or change permissions are simply grayed out for the two folders on the external drive, so not only can I not write from my PC, but I can’t even do it on the Mac with the administrative user logged in. The folder on the root drive is fine but I cannot make any changes to the external drive at all.  Get info for any folder on drive shows read only.  SMB and AFP are selected for all folders under options.  I can access all three folders from PC, but can only add files to the Music folder. I cannot do anything from either computer to the folders on the external drive.

    Try Applications/Utilities/Disk Utility - select the drive and run Repair Disk.

  • After reinstalling MAC OS 10.6.8, config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with fsck, but after the steps to be taken, it says fscs not done, root device is read only

    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with Command+S and fsck, but after the steps to be taken, it says fscs not done, root device is read only. I also tried to bypass the Mac firmware password by taking one Ram card out and reboot the macmini while holding COMMAND+OPTION+P+R. But no luck. The macmini is not able to see the mac OSX installation CD.
    Please help ??

    f.fromleiden wrote:
    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot.
    How and where did you change which permissions? And what was the goal?
    Do you have a complete backup of your system? and more importantly data files?
    What happened that prompted the need to reinstall the 10.6.8 update?
    The immediate road forward would be to boot from the optical drive and revert the changes you made.
    What happens when you boot with the install cd and hold down C or hold down the option key?
    [Off topic: I've been to Leiden a few times ]

  • What types of filesystems can Tiger read/write to?

    I'm trying to partition my iBook g4's hardrive to run both OSX and Ubuntu GNU/Linux (colloquially: Linux) and don't know what filesystems Tiger can read/write to, so I can share large files (eg: photos, movies, etc.) between the two partions. The options Ubuntu gives me for filesystems on its partition are: ext2, ext3, fat16, fat32, hfs, linux-swap, xfs, devfs and jfs. Also to note is that I plan of having this partioon's size at 37 GBs. Thanks!

    You have the following options depending upon how the drive is partitioned:
    OS X can read/write Mac OS Extended and OS Extended (Journaled), MSDOS FAT16 or FAT32, and Unix File System. You should not install OS X or OS 9 in a UFS partition. UFS partitions can be created by Disk Utility.

Maybe you are looking for

  • Not able to see the material documents against the status of GMPS

    Hi, Although the PM order has the status of GMPS(Goods Movement Posted) in IW33.No material document is seen against the Order under the order type :Preventive Maintenance.

  • Pages 09 version 4.0.4 PDF files in emails

    Good day to all. Upgraded to latest version, has caused PDF files to act differently. Ie: When exporting a letter as PDF (Export) and then later transferred as an attachment to an email, the whole file (PDF) will open instead of just listing the litt

  • JLabel as cell of JTable

    Hi All, I am using JLabel as a cell of a JTable by overriding getTableCellRendererComponent method of the renderer.But I am not able to select/focus on any of the cell by clicking at cells.However If I use any other componenet like JTextArea, I can s

  • Canon mf 3420 scanner not working

    MF 3420 printer, photo copying is working, but when tried to scan it says scanned not connected

  • Use RS_TABLE_LIST_CREATE

    Hi abbapers, I want to use the FM RS_TABLE_LIST_CREATE: CALL FUNCTION 'RS_TABLE_LIST_CREATE'          EXPORTING               table_name         = 'BKPF'     *         ACTION             = 'ANZE'     *         WITHOUT_SUBMIT     = ' '     *         G