Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. theniteowl

    URGENT Permissions issue

    Thanks guys. I never did find out where the permission was being set in the app but did add the umask 022 to the beginning of the shell script that runs the java app and that cleared up the problem. This is probably a better method anyway. There are a few issues with file permissions that will...
  2. theniteowl

    URGENT Permissions issue

    Thanks Chris. I had managed an overnight work around by setting my putty session to keep-alive and using the following code to keep changing the file permissions on those files. watch -n 30 chmod -f 644 "*.JRF" || true I had to force the return code true otherwise when the other server picked...
  3. theniteowl

    URGENT Permissions issue

    We have a java script that generates files in a folder on our Linux server that need to be picked up by a process on another server but the files are being written with RW only permissions and we need them written with RW-R--R-- The folder is setup to default to the RW-R--R-- permissions when...
  4. theniteowl

    Password expiration

    We have an application running on our server that connects to our Oracle 12c database. I found today that the account the application uses to connect to the database was locked. When I looked up the account I believe it had the word TIMED on it relating to the expiration settings? I am new to...
  5. theniteowl

    Parsing data out of files

    I have some custom scripts for a print system we use that have been modified over and over for years leading to a point where there is a lot of obsolete code fragments within each script that I want to clean up. I am hoping to find an easy way to search through a file and find the variable...
  6. theniteowl

    Determine owner of active directory group

    We manage access to folders on a network share and need to be able to determine who the contact is to approve additions to any security group when access to the folder is requested. We do not have access to create or modify the groups, only to be able to assign those groups rights on given...
  7. theniteowl

    Access Denied message for commands executed from batch file that work in Windows

    We found the solution was to add the AD group to the top level of the share with Read permissions. The group was set with full permissions on a sub-level folder and though it showed the rights as being full it would not allow a delete operation to occur from a bat file using an UNC path. Once...
  8. theniteowl

    Access Denied message for commands executed from batch file that work in Windows

    The issue seems to be related to using UNC paths in the command. Searching the internet I find all sorts of similar issues but all of the responses are saying that UNC paths are not supported and to map a drive. This setup is working perfectly on the existing file share using UNC paths so...
  9. theniteowl

    Access Denied message for commands executed from batch file that work in Windows

    Hi Everyone, Our image storage system is moving its staging folders to a new file share. We have been given full control access to the folders our system writes the images to. Our system creates post processing bat files to perform actions after the images are generated and in some cases this...
  10. theniteowl

    Extracting specific files from a folder full of tar.gz files and writing them to a sub-folder

    Thanks for the help mikrom. I had to make one small change to get it to work, adding ./ in front of the path to the file to extract. When I ran the code it would create the sub-folder of data and put report0000.data into it. I modified the code a bit to get rid of the sub-folder so both...
  11. theniteowl

    Extracting specific files from a folder full of tar.gz files and writing them to a sub-folder

    Hi Everyone! I have hundreds of xxx.tar.gz files that I need to extract two files each from and write those files to a folder of the same name as the original tar file or zip them into a zip file of the same name. Each file has a file named subcntlfile in the root and a file called...
  12. theniteowl

    Lost admin rights to folders

    Hi All, We have a corporate file share and under one folder my group has been given full control and those rights flow down through all sub-folders. We create sub-folders for various business areas output to go to for review and there are AD groups assigned to those folders giving them...
  13. theniteowl

    Calling code in another class

    I managed to get it working. However I send or create files in the watched folder can result in more than one event. Different apps handle file creation in different ways and each time they touch the file it triggers an event. Copying a file into the folder triggers a create event and then two...
  14. theniteowl

    Calling code in another class

    By commenting out the following lines I was able to get it updating the existing ListView box. void fileSystemWatcher_Changed(object sender, FileSystemEventArgs e) { // ListView lvFTPFolder = new ListView(); // string FTPPath = "c:\\"...
  15. theniteowl

    Calling code in another class

    CathalMF, thank you for the help. Using your example I have gotten the watcher to work and although the fillListView function is called, it does not make any change to the existing view on the form. I have tried variations on the Invoke command but it still does not update the listview and the...
  16. theniteowl

    Calling code in another class

    I have a windows forms application and am trying to add a FileSystemWatcher routine into it so that it will update a list of files in a ListView box. I have the watcher working in the application but now when an event is triggered by a change in the folder I want to call the fillListView routine...
  17. theniteowl

    Windows Forms - populating a ListView with multiple columns

    I had found another way to populate the fields using the code below: [CODE] private void filllvFTPFolder() { int cnt = 0; DirectoryInfo sourceInfo = new DirectoryInfo(FTPPath); FileInfo[] sFiles = sourceInfo.GetFiles("*.*"); foreach...
  18. theniteowl

    Windows Forms - populating a ListView with multiple columns

    Hi All, I am using Visual Studio 12 and have created a Windows Forms application with a ListView control on the page. I am trying to populate the ListView with two columns of data, File Name and Creation Date from a specified folder. I keep getting errors when I try to use SubItems.Add to add...
  19. theniteowl

    Tracking down WiFi interference

    I listed the model number of the Comcast modem above, it is SMCDG3NV. I do not know the model of the TP-Link router but with it powered off the problem still exists. I have read that people can call to have the modem changed to a bridged mode as long as you end up talking with someone who can...
  20. theniteowl

    Tracking down WiFi interference

    I have not ruled anything out entirely but the testing I have done points to outside interference since the problem has exhibited itself with 5 different routers. It is a home network and consists only of the combination cable modem/router and the TP-Link router. Originally we had an older...

Part and Inventory Search

Back
Top