Traverse a directory - see files and folders

I can do this in ASP for our intranet but need to do the same in Java for our extranet.
Before I redirect a person to view a pdf I need to check if that pdf exists (is in the directory). Is there a way to view the files in a directory using Java?

Hi
Here is some sample code you can use the program loops through the supplied path or the current dir if no argument is given. Currently it only prints out the whole dir structure (including files) to the screen. All you'll need to do is test these values.
import java.io.*;
public class FindDir {
     public static void main(String args[]) {
          if (args.length == 0) args = new String[] { ".." }; //start current if no arg supplied
          try {
               File pathName = new File(args[0]); //where to start
               String[] fileNames = pathName.list();
               for (int i = 0; i < fileNames.length; i++) {
                    File tf = new File(pathName.getPath(), fileNames);
                    if (tf.isDirectory()) {
                         System.out.println(tf.getCanonicalPath()); //directories
                         String[] dirFiles = tf.list();
                         for (int j = 0; j < dirFiles.length; j++) {
                              File df = new File(tf.getPath(), dirFiles[j]);
                              if (df.isFile()) {
                                   System.out.println(df.getName()); //files
                         main(new String[] {tf.getPath()});
          catch(IOException e) {
               System.out.println("Error: " + e);

Similar Messages

  • Cannot see file and folders copied from other windows 8

    Hi everyone,
    The problem is the next:
    I have new PC for that i was asked to setup and install software, i perform on it clean windows 8 install, it have single HDD 1TB that was partitioned by regular windows setup option to system drive C: 100GB and all left space was partitioned as drive D:
    After setup finish i only boot to system to check that everything is OK and without to make ANY change to windows shut it down.
    I physically disconnect HDD from new PC and connect it via standard USB 3 docking device to my own PC that also run windows 8 i can see the new connected HDD with all partitions without any problem! Than i create on second partition on new drive folder and
    copy there some files, after copy finished i disconnect the drive in safe way by performing "eject" option in windows.
    i connect new drive back to new pc, boot to windows and access the second partition and it ... empty, no folder or files on drive, it also show like no space was used !!!
    MOST IMPORTANT ! - Why it don't looks like security or permission or even hardware problem - NO any major security changes was performed on my own (old) PC, but most important fact when i connect other hdd to same dock station and create folder and copy some
    files and then connect it to NEW PC - problem does not exist !!! i can see and access without any problem the folder and files on both PC's !
    I also tried:
    to reinstall windows on new pc
    to create or delete partition after setup in both PC's
    to check folder and drive permissions and adding "everyone" with "full control"
    to turn on "show hidden files and folders" and "system files" too
    to copy or create new different type files
    Interesting - if i create a folder in NEW PC i can see this folder on OLD PC and copy files to it, but whet i connect drive back to NEW PC it sometimes show the folder have those files and even use the appropriate space and programs even try to open those files
    without any security warnings but it cannot be open properly because files looks corrupted !
    Thanks for any help !

    Hi,
    According to your description, I don't think this is system problem. More like HDD or its interface problem.
    Have you tried to reconnect your new HDD to your own computer again after you copy some file to it but couldn't find anything on new computer. If there is problem in new PC, how about your own PC?
    Please have a try, If there was any progress, feel free let us know.
    Roger Lu
    TechNet Community Support

  • Cannot see files and folders on hard drive after reinstall of Tiger

    Hi all!
    I just had to reinstall Tiger on my iMac G5 and when I look at my hard drive in Disk Utility it says I have 70000 some odd files and I've used 180GB of my hard drive but I haven't. I wiped it clean with zeroes before the reinstall, or so I thought. I can't see any of these "old" folders or files.
    How do I reclaim this space?
    Thanks in advance!
    DW

    Yes it was the MacIntosh HD volume.
    I ended up recreating the partition booting with the OS X CD and using Disk Utility and then reinstalled Tiger. Now it works, and I have all my hard drive space available.
    Thanks!

  • New files and folders on a Linux client mounting a Windows 2012 Server for NFS share do not inherit Owner and Group when SetGID bit set

    Problem statement
    When I mount a Windows NFS service file share using UUUA and set the Owner and Group, and set the SetGID bit on the parent folder in a hierarchy. New Files and folders inside and underneath the parent folder do not inherit the Owner and Group permissions
    of the parent.
    I am given to understand from this Microsoft KnowledgeBase article (http://support.microsoft.com/kb/951716/en-gb) the problem is due to the Windows implmentation of NFS Services not supporting the Solaris SystemV or BSD grpid "Semantics"
    However the article says the same functionality can acheived by using ACE Inheritance in conjunction with changing the Registry setting for "KeepInheritance" to enable Inheritance propagation of the Permissions by the Windows NFS Services.
    1. The Precise location of the "KeepInheritance" DWORD key appears to have "moved" in  Windows Server 2012 from a Services path to a Software path, is this documented somewhere? And after enabling it, (or creating it in the previous
    location) the feature seems non-functional. Is there a method to file a Bug with Microsoft for this Feature?
    2. All of the references on demonstrating how to set an ACE to achieve the same result "currently" either lead to broken links on Microsoft technical websites, or are not explicit they are vague or circumreferential. There are no plain Examples.
    Can an Example be provided?
    3. Is UUUA compatible with the method of setting ACE to acheive this result, or must the Linux client mount be "Mapped" using an Authentication source. And could that be with the new Flat File passwd and group files in c:\windows\system32\drivers\etc
    and is there an Example available.
    Scenario:
    Windows Server 2012 Standard
    File Server (Role)
    +- Server for NFS (Role) << -- installed
    General --
    Folder path: F:\Shares\raid-6-array
    Remote path: fs4:/raid-6-array
    Protocol: NFS
    Authentication --
    No server authentication
    +- No server authentication (AUTH_SYS)
    ++- Enable unmapped user access
    +++- Allow unmapped user access by UID/GID
    Share Permissions --
    Name: linux_nfs_client.host.edu
    Permissions: Read/Write
    Root Access: Allowed
    Encoding: ANSI
    NTFS Permissions --
    Type: Allow
    Principal: BUILTIN\Administrators
    Access: Full Control
    Applies to: This folder only
    Type: Allow
    Principal: NT AUTHORITY\SYSTEM
    Access: Full Control
    Applies to: This folder only
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

    I'm making some "major" progress on this problem.
    1. Apparently the "semantics" issue to honor SGID or grpid in NFS on the server side or the client side has been debated for some time. It also existed as of 2009 between Solaris nfs server and Linux nfs clients. The Linux community defaulted to declaring
    it a "Server" side issue to avoid "Race" conditions between simultaneous access users and the local file system daemons. The client would have to "check" for the SGID and reformulate its CREATE request to specify the Secondary group it would have to "notice"
    by which time it could have changed on the server. SUN declined to fix it.. even though there were reports it did not behave the same between nfs3 vs nfs4 daemons.. which might be because nfs4 servers have local ACL or ACE entries to process.. and a new local/nfs
    "inheritance" scheme to worry about honoring.. that could place it in conflict with remote access.. and push the responsibility "outwards" to the nfs client.. introducing a race condition, necessitating "locking" semantics.
    This article covers that discovery and no resolution - http://thr3ads.net/zfs-discuss/2009/10/569334-CR6894234-improved-sgid-directory-compatibility-with-non-Solaris-NFS-clients
    2. A much Older Microsoft Knowledge Based article had explicit examples of using Windows ACEs and Inheritance to "mitigate" the issue.. basically the nfs client "cannot" update an ACE to make it "Inheritable" [-but-] a Windows side Admin or Windows User
    [-can-] update or promote an existing ACE to "Inheritable"
    Here are the pertinent statements -
    "In Windows Services for UNIX 2.3, you can use the KeepInheritance registry value to set inheritable ACEs and to make sure that these ACEs apply to newly created files and folders on NFS shares."
    "Note About the Permissions That Are Set by NFS Clients
    The KeepInheritance option only applies ACEs that have inheritance enabled. Any permissions that are set by an NFS client will
    only apply to that file or folder, so the resulting ACEs created by an NFS client will
    not have inheritance set."
    "So
    If you want a folder's permissions to be inherited to new subfolders and files, you must set its permissions from the Windows NFS server because the permissions that are set by NFS clients only apply to the folder itself."
    http://support.microsoft.com/default.aspx?scid=kb;en-us;321049
    3. I have set up a Windows 2008r2 NFS server and mounted it with a Redhat Enteprise Linux 5 release 10 x86_64 server [Oct 31, 2013] and so far this does appear to be the case.
    4. In order to mount and then switch user to a non-root user to create subdirectories and files, I had to mount the NFS share (after enabling Anonymous AUTH_SYS mapping) this is not a good thing, but it was because I have been using UUUA - Unmapped Unix
    User Access Mapping, which makes no attempt to "map" a Unix UID/GID set by the NFS client to a Windows User account.
    To verify the Inheritance of additional ACEs on new subdirectories and files created by a non-root Unix user, on the Windows NFS server I used the right click properties, security tab context menu, then Advanced to list all the ACEs and looked at the far
    Column reflecting if it applied to [This folder only, or This folder and Subdirectories, or This folder and subdirectories and files]
    5. All new Subdirectories and files createdby the non-root user had a [Non-Inheritance] ACE created for them.
    6. I turned a [Non-Inheritance] ACE into an [Inheritance] ACE by selecting it then clicking [Edit] and using the Drop down to select [This folder, subdirs and files] then I went back to the NFS client and created more subdirs and files. Then back to the
    Windows NFS server and checked the new subdirs and folders and they did Inherit the Windows NFS server ACE! - However the UID/GID of the subdirs and folders remained unchanged, they did not reflect the new "Effective" ownership or group membership.
    7. I "believe" because I was using UUUA and working "behind" the UID/GID presentation layer for the NFS client, it did not update that presentation layer. It might do that "if" I were using a Mapping mechanism and mapped UID/GID to Windows User SIDs and
    Group SIDs. Windows 2008r2 no longer has a "simple" Mapping server, it does not accept flat text files and requires a Schema extension to Active Directory just to MAP a windows account to a UID/GID.. a lot of overhead. Windows Server 2012 accepts flat text
    files like /etc/passwd and /etc/group to perform this function and is next on my list of things to see if that will update the UID/GID based on the Windows ACE entries. Since the Local ACE take precedence "over" Inherited ACEs there could be a problem. The
    Inheritance appears to be intended [only] to retain Administrative rights over user created subdirs and files by adding an additional ACE at the time of creation.
    8. I did verify from the NFS client side in Linux that "Even though" the UID/GID seem to reflect the local non-root user should not have the ability to traverse or create new files, the "phantom" NFS Server ACEs are in place and do permit the function..
    reconciling the "view" with "reality" appears problematic, unless the User Mapping will update "effective" rights and ownership in the "view"
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

  • Windows 7 won't allow me access to some of my files and folders

    I installed a new copy of Windows 7 Professional SP1 on a new PC several months ago. I then restored my documents from a backup made on my old XP system. Ever since installation, I have had problems with Windows denying me access to some of my files
    and folders. I have full administrative rights on the machine. The various problems I've had, and steps I've taken to resolve them are:
    1. Try to open a file and get a message telling me I need permission from Steve to open this file. I am Steve.
    2.Try to open a file and get a message telling me I don't have permission to open it, but click this button to get permanent permission. I click the button, but still don't have permission.
    3. I then started opening the security settings for individual files and setting myself to have full access, and as the owner. This worked for individual files.
    4. I then tried setting the same security settings for entire folders. This didn't work and didn't improve anything.
    5. I tried setting the security settings so that Administrators owned the files/folders (I am an administrator). This also didn't achieve anything.
    6. After several months and still getting these messages, I got sick of trying to overcome them and decided to apply these security settings to my entire C: drive. I set myself to have full access and to be the owner of the C: root directory and all sub-objects.
    7. I inserted my Windows installation disk and tried to run the System Repair. It told me that System Repair was not compatible with the version of Windows I was running! WTF???
    Not only did setting permissions for the entire C: drive not help me, it has made matters a WHOLE lot worse. I now don't have permission to open almost all my files/folders. Most applications I try to run (Word, Excel, etc.) either tell me they can't open
    a file or let me open and edit it, then tell me I don't have permission to save to that location. When I press the Send/Receive button in Outlook, it now tells me I don't have permission to perform that action. I've tried going back to a restore point before
    I made this change, but that didn't change anything either.
    This problem has been driving me insane for months and now my PC is almost completely unusable and I'm considering a disk format and re-install Windows. When I initially installed it, so many problems came up in the first few weeks that I'm very reluctant
    to go through this procedure again. I spent hours and hours trawling the web looking for solutions to things that didn't work.
    Does anyone have any good news for me? Because as far as I'm concerned, Windows 7 is so far a piece of garbage.

    Hi Steve1904,
    So you have use the backup and Restore to restore your files from Windows XP to Windows 7 directly?
    This should be considered not work.
    If you would like to transfer files between Windows XP and Windows 7, you need another tool called Windows Easy Transfer.
    See the article below if you would like to upgrade from Windows XP to Windows 7:
    Upgrading from Windows XP to Windows 7
    If possible, follow the steps there, then things should be OK.
    Best regards
    Michael Shao
    TechNet Community Support

  • Can't change permission on Time Capsule files and folders

    I am using my Time Capsule as a storage device that everyone on my network can access, and I also have a fairly small (~5000 songs) iTunes Library as well. This was all working fine, until I decided to try to get a second computer, beside my MacBook Pro (8,1) to connect to the iTunes Library. Suddenly strange things started happening, like the network dropping at seemingly completely random times, certain people being kicked of the network, etc. So then I thought "well maybe its because of the iTunes Library." So I did a 'Get Info' to the Library folder, named iTunes Library, and it showed this:
    This didn't seem too strange, except for the (unknown) name. I then learned (http://pondini.org/TM/E10.html) that this may actually be causing the problem, so I hit the minus button while hovering over it, only to see this:
    Now, as far as I can tell, this shouldn't be happening. So I tried it on many different computers (10.8.4, 10.6.8, 10.7.5, among others), and they all said this. Then, back on 10.8.4, I decided to try to add my name, even though it said that everyone can read and write, and it said this:
    Now I knew this was strange, since it has never, ever happened to me since OS 7. What was also strange, instead of showing the usual selection window, it asked me to type in my username, like so:
    This happened on every computer, and in every directory and every file (or at least the couple dozen I tried, including ones outside the Library folder that I had already changed permissions on before normally), so I knew something was definetly up. So of course, I turned to my friend, the Terminal. I tried doing sudo chmod 555, 755, 775, 777, and a+x, and none of them worked, again, on multiple different files and folders. Also, since I have connected the second conmputer to the Library, it seems as though the file iTunes Library.itl is no longer executable, because it looks like this:
    Also, no one but me can connect to it anymore, even though they can all see it. Any help would be greatly appreciated.
    EDIT: Sorry for the low-res images, Apple seems to have done something to them

    Verify volume failed with error Could not unmount disk (-10000)
    That could happen if there is another process that is presently accessing the volume.  I don't think it related to the volume having data corruption.  The fact that is it a "server" may be relevant.
    In the time that you have had this problem, has it been shut down and restarted? 
    You can also try restarting it with the Shift key held down.  That should do a Safe Mode startup, if an Xserve acts like a regular Mac.
    http://support.apple.com/kb/HT1564
    http://support.apple.com/kb/HT1455
    The Safe Boot will do some maintenance and tests during startup, and start up with only essential proceses running.  Try accessing that folder now.  If you can access it, you should probably save it off on another volume, such as an external drive, so that you have a current backup.
    Try running Repair Disk Permissions and Verify Disk again in Disk Utility.  Repair Disk Permissions will probably give you a lot of messages; they are usually just "informational" so don't be concerned.  However, if Verify Disk reports an error, that is a serious problem that needs to be addressed.
    Edit:  If the volume being tested is NOT the startup disk, then Repair Disk Permissions will be disabled.  It only applies when there is a system installed on that volume.

  • How to recover hidden files and folders from memor...

    When you connect your memory card to a PC or connect your phone as a mass storage device to a PC which is infected by a virus, the virus may hide all your files and folders.
    The virus also changes their attributes to "hidden" and "read only" and may move all memory card content to another hidden folder, though the size of the disk looks unchanged, files are still invisible.
    Steps to recover hidden files and folders:
    First, change the settings in "folder options" so that we can see all hidden files and folders,
    Open any folder > select organise > folder and search options, select view tab and under hidden files and folders setting, select "show hidden files, folders and drives", and uncheck the option "Hide protected operating system files" and click ok, click yes if a prompt appears for confirmation, now you should be able to see all hidden files and folders.
    Second, connect your memory card to PC using a card reader or you can connect your phone as a mass storage device and note down its drive letter. (L) is the drive in my case as shown
    1. If you have autorun.info file, you can manually delete it or use tools like autorun eater(or any other you like).
    If all the folders are moved inside a hidden folder, select all the items inside that folder, cut them and paste them to root directory of your memory card.
    If you select properties of any folder on your memory card, the hidden attribute might be locked as shown:
    To solve these issues, type cmd in the start menu, right click on it and click run as administrator.
    2. In the command prompt window, type the following:
    L: [Press Enter]
    Here, I assume L as your drive letter.
    3. Type the following code to reset the attributes of all the files and folders to their default:
    Attrib *.* -r -h -s /s /d   [Press Enter]
    After few seconds, all the files and folders will be reset to their normal attributes settings.
    Hope you enjoyed reading the post and was helpful.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

    Check the formatting of the external hard drive. To do that, right click on the drive icon and select Get Info. (Or click once on the drive and type command +i ) The pane includes information about the drive format.
    The drive should be formatted as Mac OS Extended. If it is not, run Disk Utility (App;ications / Utilities) and format the drive.

  • Time Machine skipping files and folders

    Running OS X 10.10.2 on a Early 2009 Mac Pro. System installed on a 256 GB solid state drive. 10 GB of memory.
    I'm having a problem with Time Machine where it's not backing up some of my files and folders. There doesn't seem to be much rhyme or reason to it, but it includes very, very important things like the parent directory for projects I'm working on, arbitrary hash directories in some git repositories, an assortment of emails, Messages attachments, random preferences files, and somehow the entire contents of my Pictures folder. And probably more -- I haven't checked everything.
    I've recently forced Time Machine to do a full traversal when it made a recent backup (and confirmed that it was a full traversal by looking at backupd's output in Console.app), but these files are still missing.
    Does anyone have any suggestions for what I can do to fix Time Machine? I just want it to do a full backup, not skipping anything.
    As a last ditch effort I could blow away my Time Machine drive and start from scratch, but I really, *really* don't want to do that because it contains several months worth of backups, and I occasionally do need to go back and get older versions of files.

    It is a nasty bug of OSX 10.9 and 10.10 . Some workaround is described here: http://apple.stackexchange.com/questions/170219/time-machine-is-skipping-files-a nd-folders-how-to-fix/170336#170336 by Pete.

  • How to sort files and folders like Windows

    I don't know if this is specific to Arch or every other Linux distro but one thing that really bugs me in Arch is how files and folders are sorted. I use Windows as my main OS (don't start on that please) and I have one folder properly organized exactly as I want it and I like it how Windows sorts this. I access that same folder from my Arch installation, the problem is that the sorting is different and it gets on my nerves lol...
    This is how Windows sorts that specific folder:
    C:\Users\Nazgulled\Documents\University>dir /O
    Volume in drive C is Vista
    Volume Serial Number is F84E-02BE
    Directory of C:\Users\Nazgulled\Documents\University
    05-08-2009 15:34 <DIR> .
    05-08-2009 15:34 <DIR> ..
    05-08-2009 11:10 <DIR> [Archives]
    05-08-2009 14:38 <DIR> [Developers]
    05-08-2009 11:17 <DIR> [X] 1) Cálculo II
    05-08-2009 11:18 <DIR> [X] 2) Análise de Custos
    05-08-2009 11:18 <DIR> [X] 2) Cálculo de Programas
    05-08-2009 11:18 <DIR> [X] 2) Laboratórios de Informática III
    05-08-2009 11:18 <DIR> 2) Algoritmos e Complexidade
    05-08-2009 11:18 <DIR> 2) Arquitectura de Computadores
    05-08-2009 11:18 <DIR> 2) Comunicaçao de Dados
    05-08-2009 11:18 <DIR> 2) Engenharia Económica
    05-08-2009 11:18 <DIR> 2) Estatística Aplicada
    0 File(s) 0 bytes
    13 Dir(s) 24.700.485.632 bytes free
    And this is how Arch does it:
    nazgulled ~/University $ ls -l
    total 7
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Algoritmos e Complexidade
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Arquitectura de Computadores
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Comunicação de Dados
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Engenharia Económica
    drwxr-xr-x 1 nazgulled nazgulled 8192 2009-08-05 11:18 2) Estatística Aplicada
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:10 [Archives]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 14:38 [Developers]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:17 [X] 1) Cálculo II
    drwxr-xr-x 1 nazgulled nazgulled 12288 2009-08-05 11:18 [X] 2) Análise de Custos
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Cálculo de Programas
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Laboratórios de Informática III
    How can I get Arch/Linux to sort exactly the same as Windows?
    Last edited by Nazgulled (2009-08-05 14:41:47)

    toad wrote:
    Nazgulled wrote:Surely there must be a way to have the same sorting collation in Linux like in Windows
    Ah, no. The way they are doing it is nonsensical and not good practice for a unix style system. Having said that, some solutions have already been offered in this thread.
    While you are free to continue to ask others to help you achieve your aims, it may be more convenient for you to adapt to a structure that is displayed the same way under all systems (just to avoid frustration - not saying you _should_ do it ).
    I really don't care if it's nonsensical, I use Windows 95% of the time or more, it's my main OS, I'm used to it and I like it. Why should I care if it's not a good practice for a unix style system? I just want things to behave the way I like and for a free system like Linux where it doesn't even compare to Windows in terms of freedom in what I can do with it and configure the way I like, it sure is hard to change the way folders/files are sorted...
    It sucks that there isn't a proper solution but I'm not going to adapt anything, that would be nonsensical... But if I have to, I can live with the fact that there isn't a good solution and leave it as it is
    Thanks everyone for their input, "topic closed".

  • How do I set up my iPad for outlook files and folders

    I want to see and use, on my iPad, the same files and folders I have in outlook on my PC. Also I want any changes I make on the PC or the iPad to sync with each other.
    PC is running Windows 7,
    Outlook version 2007, not the exchange version although I think I can get that by re-installing outlook and choosing that option.(I don't understand what exchange is but don't bother to explain it unless the solution requires using it)
    I currently use Gmail for my email accounts server. They are set up as POP accounts with Outlook using a .PST data file. However, IMAP is available for Gmail. My brief past experience with IMAP and .OST data files was kind of a disaster so it isn't my 1st choice for this.
    As I understand it using Outlook 365 with Microsoft's cloud and mobile app would solve my problem but I don't like clouds, 365 or IMAP (I may have to concede on some of those). If there is a way to do it through the Gmail accounts without any other cloud  that would be ideal since they already have all my email and I won't be spreading my personal info to other companies.
    I do have a Drop Box account but I currently only use it for some well vetted specific files that I share with specific individuals.
    I do not have any computer or network drive that is always on and might serve as a private cloud. That could be changed but then i'm relying there being no ISP or power interruptions which, of course do occasionally happen.
    Obviously I'm being rather picky here knowing that I'll probably have to live with some things less than ideal.
    I will consider 3rd party apps if they seem to be part of the solution.
    Thank you in advance for any person/s that want to help me on this.
    hsvt

    Thanks. I can change the forwarding settings in Gmail to be either POP or IMAP. That is quite simple. I just looked at those settings on the Gmail server and, to my surprise, both are enabled. In order for outlook client on my computer to receive IMAP emails I have to change the email account settings in my current outlook from POP to IMAP. I don't need to be using the Exchange version of Outlook to receive IMAP. I guess I'll do a little research tomorrow on Exchange so i can figure out what, if anything, it might do for me.
    I glanced at the link you sent me and it looks like it might be very helpful - another project for tomorrow.
    BTW: I hit "This Solved my Question" by accident. I meant only to "like' your response so you would get some benefit from the help you've given me so far. I hope I haven't discouraged others from taking a shot at helping me. I suspect there is more than one way to approach this and, as you know, my problem isn't really solved until I have what I need all set up and running smoothly.

  • How do I get Firefox to show hidden files and folders. It should be available under help but help only gets as far as Open Containing folder and doesn't go on to show hidden files and folders

    I am trying to find the status of Adobe Flash Player on my computer. I am advised that it exists in Firefox's hidden files and folders but I cannot find such a folder

    You have an older version of Flash installed - Shockwave Flash 10.0 r45
    You can see that for yourself in Tools > Addons > Plugins
    "Show hidden files and folders" is a function of the Operating System, not an application such as Firefox. Windows Control Panel > Folder Options > View - Advanced Settings

  • Auditing failed access to files and folders in Windows Storage Server 2008 R2

    Hello,
    I've been trying to figure out why I cannot audit the failed access to files and folders on my server.  I'm trying to replace a unix-based NAS with a Windows Storage Server 2008 R2 solution so I can use my current audit tools (the 'nix NAS
    has basically none).  I'm looking for a solution for a small remote office with 5-10 users and am looking at Windows Storage Server 2008 R2 (no props yet, but on a Buffalo appliance).  I specifically need to audit the failure of a user to access
    folders and files they are not supposed to view, but on this appliance it never shows.  I have:
    Enabled audit Object access for File system, File share and Detailed file share
    Set the security of the top-level share to everyone full control
    Used NTFS file permissions to set who can/cannot see particular folders
    On those folders (and letting those permissions flow down) I've set the auditing tab to "Fail - Everyone - Full Control - This folder, subfolders and files"
    On the audit log I only see "Audit Success" messages for items like "A network share object was checked to see whether client can be granted desired access (Event 5145) - but never a failure audit (because this user was not allowed access by NTFS permissions).
    I've done this successfully with Windows Server 2008 R2 x64 w/SP1 and am wondering if anybody has tried this with the Windows Storage Server version (with success of course).  My customer wants an inexpensive "appliance" and I thought this new
    variant of 2008 was the ticket, but I can't if it won't provide this audit.
    Any thoughts? Any of you have luck with this?  I am (due to the fact I bought this appliance out of my own pocket) using the WSS "Workgroup" flavor and am wondering if this feature has been stripped from the workgroup edition of WSS.
    TIA,
    --Jeffrey

    Hi Jeffrey,
    The steps to setup Audit on a WSS system should be the same as a standard version of Windows Server. So please redo the steps listed below to see if issue still exists:
    Enabling file auditing is a 2-step process.
    [1] Configure "audit object access" in AD Group Policy or on the server's local GPO. This setting is located under Computer Configuration-->Windows Settings-->Security Settings-->Local Policies-->Audit Policies. Enable success/failure auditing
    for "Audit object access."
    [2] Configure an audit entry on the specific folder(s) that you wish to audit. Right-click on the folder-->Properties-->Advanced. From the Auditing tab, click Add, then enter the users/groups whom you wish to audit and what actions you wish to audit
    - auditing Full Control will create an audit entry every time anyone opens/changes/closes/deletes a file, or you can just audit for Delete operations.
    A similar thread:
    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/da689e43-d51d-4005-bc48-26d3c387e859
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Files and folders moved to NAS become read only.

    I just got an Iomega NAS. When I move files and folders to it from my Macbook, they become read only when they get there. Files from my girlfriend's PC stay read/write when they are moved to the NAS.
    I first noticed this with iTunes. I changed the location of my iTunes folder to be on the NAS and I let iTunes copy the music itself. Now, I can add music by new artists, but if I try to add an artist that I already have a folder for, it won't let me because the folder is read only. Also, I can't change any of the info for any files in iTunes.
    I'm not sure if this has anything to do with it, but it looks like all of the files and folders on my Mac are set up so that only I can see them. When I click "get info" on any file on the computer, it shows:
    me : read/write
    staff: read only
    everyone: read only

    When I open a finder window, I see two icons for the NAS in the "shared" section. The first one is:
    hmnhd-ti2mkg
    When I click "get info" it shows "Kind: PC Server" and there is no mention of permissions in the "get info" box.
    The second one is:
    hmnhd-TI2MKG.local
    When I click "get info" it shows "Kind: Server" and there is no mention of permissions in the "get info" box.
    Clicking on either one of these icons lets me browse through the exact same shares and folders. There is no difference between going in to one or the other. They both have the same permissions on all folders, as well.
    "Jacob's iTunes Music" is a share on the NAS. All of my read only files (that I want to change to read/write) are already in this share.
    Clicking "get info" on any of the shares shows them as "Kind: Sharepoint" with no mention of permissions.
    I think I'm going to try to have iTunes copy all the files to my computer, change the permissions, then have it copy them back to the NAS. Is there a way to change permissions of folders, subfolders, and files without having to click "get info" on each and every one?

  • Trouble with locked/read only files and folders

    After reinstalling OSX I have an external harddrive with locked files and folders. I´ve heard that it is possible to unlock all files and folders from Terminal (it will take hours to unlock manually). Anyone who knows a script that will set read and write access to all files and folders on a hard drive?

    For locked HDs and volumes:
    http://discussions.apple.com/thread.jspa?threadID=2329689
    Also, see Niel's guide.

  • Saved Digital ID to desktop, all desktop files and folders immediately vanished from computer

    I was signing a document in Abobe Reader, and instructed to create a new digital ID in order to do so.
    when I did this, I chose to save the digital ID to the desktop, replacing whatever its original destination to be saved to was.
    when I hit finish, every single file and folder on my desktop vanished from my laptop (Macbook air running OSX Yosemite) completely. I have searched everyone and gone through a live chat with an Apple specialist who has had access to my screen and cannot find anything. All files and folders, music and photos that were not on my desktop are still here. I have tried re-starting.
    Does anyone have any idea what has happened and how to fix it? I am a graduate student and part of my dissertation was on my desktop. I am an idiot for not having backed it up properly, and will be buying an external hard drive and using Time Machine immediately.

    Hello Elizabeth,
    Thank you for contacting Adobe via this forum and other correspondence.
    I see that Adobe Support has contacted you directly and is working with you on this issue.
    Regards,
    Charlene

Maybe you are looking for

  • Acrobat 9 PRO - Forms Tracker Question

    1. When distributing a form via acrobat.com to multiple targets, can I keep email addresses confidential from individual members on the distribution list? 2. When distributing a form to multiple email addresses simultaneously, is it possible to creat

  • FK10N - vendor balances

    Hi All,    In FK10N transaction . Balance and cumulative balance is getting claculated dynamically   please let me know the logic behind this. With Thanks

  • It's been asked before....

    I've asked this question before but never received any replies, not even it can't be done. Is there any way to write something in Java that can monitor a port to make sure it's still open? Our SNMP Trap Service running on Windows NT uses port 162 and

  • Data form is coming as non editable

    Hi I am using hyperion planning 11.1.1.3 when i am creating data form by default it is coming as non editable i.e. all the cells are coming as green. to give you more input in the my dataform -> other option-> make data form read only is unchecked. s

  • SSLContext.init() hangs randomly

    We use Jakarta tomcat 4.1.18 on a Redhat linux platform with SSL enabled. The problem is on one praticular machine, uname -a Linux Lei-Op 2.4.9-e.3smp #1 SMP Fri May 3 16:48:54 EDT 2002 i686 unknown the method SSLContext.init() hangs for more than 10