![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to list files Created in last 2 hrs | rsonakiya | UNIX for Dummies Questions & Answers | 4 | 03-02-2009 07:25 AM |
| Newly created files default group and write permissions | goldfish | UNIX for Dummies Questions & Answers | 2 | 02-20-2008 06:39 PM |
| Files created in last 24 hours | jayaramanit | Shell Programming and Scripting | 1 | 09-08-2007 04:34 AM |
| new directory - how to force files created in it to inherit grp,own and permissions | avisb | UNIX for Dummies Questions & Answers | 2 | 04-26-2002 04:47 PM |
| Two Files Created For Every One? | Atama | UNIX for Dummies Questions & Answers | 1 | 04-12-2002 04:44 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
files created with different permissions
Hi,
Within a SQL file i am calling 5 shell scripts in back ground and redirecting their outputs to different log files in a specific directory. Now when I observed is, the log files are created with different permissions even though i did not do any thing specific. For example in run_scripts.sql I am doing: ! nohup /u36/app/1SR/v69/111.sh > /nw_disk1/oradb/flatfile/log/111.log & ! nohup /u36/app/1SR/v69/222.sh > /nw_disk1/oradb/flatfile/log/222.log & ! nohup /u36/app/1SR/v69/333.sh > /nw_disk1/oradb/flatfile/log/333.log & ! nohup /u36/app/1SR/v69/444.sh > /nw_disk1/oradb/flatfile/log/444.log & ! nohup /u36/app/1SR/v69/555.sh > /nw_disk1/oradb/flatfile/log/555.log & After the scripts are executed when i checked in /nw_disk1/oradb/flatfile/log directory: ls -ltr *.log -rw-r--r-- 1 oracle dba 1059 Jul 16 06:15 111.log -rw-r--r-- 1 oracle dba 1428 Jul 16 06:15 222.log -rw-r----- 1 oracle dba 1059 Jul 16 06:15 333.log -rw-r----- 1 oracle dba 1212 Jul 16 06:15 444.log -rw-r----- 1 oracle dba 1129 Jul 16 06:15 555.log How this is possible? Only first 2 log files have read permissions for others. Thanks in advance. |
| Bookmarks |
| Tags |
| file permissions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|