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...
...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 up the existing files and there were none left in the...
...differently.
Until I can figure this out can someone show me how to setup a simple script to periodically execute the command CHMOD 644 /ops/acct/*.JRF?
Every 10 - 20 minutes should be sufficient but my Linux skills are still fairly basic.
This is an automated process that needs to occur...
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...
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...
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...
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...
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...
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...
...files will be processed.
#!/bin/sh
# source directory
src_dir=./tar_files
# destination directory
dst_dir=./tar_unpacked
for file in $src_dir/*.tar.gz
do
printf "* extracting data from %s :\n" $file
fname=$(basename $file)
tar -C $dst_dir -zxf $file...
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...
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...
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...
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:\\"...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.