04-27-2009
file permision
Hello,
I have a program which at run time creates a shell script and tries to redirect the output of the same to another file. both of the files are created at run time with different names.
The problem is: the file it is redirecting to is being created as:
-rw-r--r-- 1 root tech 69 Apr 27 17:29 dberror.err
so the users from the tech group are not able to write to that file.
The program I am executing is having following permision:
-rwsr-s--- 1 root tech 1108303 Apr 27 16:51 /dbpro
What should I do?
Regards,
Chandan Sharma
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I want to know how the file permision should change to 755 automatically once the file is created. At the moment I do it explicitely by changing the permission mode to 755 using chmod command.
The default permission for a new file in my system is 644 (-rw-r--r--).
Thanks
Saumya (6 Replies)
Discussion started by: sommyp
6 Replies
2. UNIX for Dummies Questions & Answers
All,
As first i searched in google but no result . Also i searched in the forum as well.
I am having a directory with permision drwxrwsr-x
i want to create a new directory with same permision . I know S denotes stick bit i tried to creat a directory and modify by chmod as
chmod... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
3. UNIX for Dummies Questions & Answers
All,
I am having a directory as
drwxrwsr-x 3 intermec intermec 10240 Jan 8 09:07 intermec
inside the directory . the files are like
cd
-rw-r----- 1 intrmc01 intermec 5226 Dec 2 15:03 AST07356.txt
-rw-r----- 1 intrmc01 intermec 5025 Dec 2 12:51... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I am having file permision as
drwxrwsr_x
I kwo for deleting a file in the diretory i need w permsion as well ..
Say if i am having the permsion as
drwxrwsrwx - wil any one can delete the files in the directory ..
And one more question what is the s doing there ..... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
5. UNIX for Dummies Questions & Answers
I hava a windows NTFS partition on fedora15. The partitions auto-mounts to /media/Data ever starting of KDE.
/dev/sda5 on /media/Data type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
But I cant change the file permission in this... (1 Reply)
Discussion started by: vistastar
1 Replies
6. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
7. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
8. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
LEARN ABOUT XFREE86
extcheck
EXTCHECK(1) General Commands Manual EXTCHECK(1)
NAME
extcheck - check hierarchical ext(5) files for global node connectivity and summarize number of fets, nodes, etc.
SYNOPSIS
extcheck [ -c cthresh ] [ -p path ] [ -r rthresh ] [ -s sym=value ] [ -C ] [ -R ] [ -S symfile ] [ -T tech ] root
DESCRIPTION
Extcheck will read an extracted circuit in the hierarchical ext(5) representation produced by Magic, check to ensure that all global nodes
(those to which a label ending in an exclamantion point is attached) are fully connected in the layout, and then print a count of the num-
ber of various items (nodes, fets, etc) encountered while flattening the circuit. The root of the tree to be processed is the file
root.ext; it and all the files it references are recursively flattened.
The following options are recognized:
-c cthresh
Set the capacitance threshold to cthresh femtofarads. Extcheck will count the number of explicit internodal capacitors greater than
cthresh, the number of nodes whose capacitance is greater than cthresh, as well as the total number of nodes. (Other programs such
as ext2sim(1) use this option as a threshold value below which a capacitor will not be output). The default value for cthresh is 10
femtofarads.
-p path
Normally, the path to search for .ext files is determined by looking for path commands in first ~cad/lib/magic/sys/.magic, then
~/.magic, then .magic in the current directory. If -p is specified, the colon-separated list of directories specified by path is
used instead. Each of these directories is searched in turn for the .ext files in a design.
-r rthresh
Set the resistance threshold to rthresh ohms. Similar in function to -c, but for resistances. The default value for rthresh is 10
ohms.
-s sym=value
It's possible to use special attributes attached to transistor gates to control the length and width of transistors explicitly,
rather than allowing them to be determined by the extractor. These attributes are of the form ext:w=width^ or ext:l=length^, where
width or length can either be numeric, or textual. (The trailing ``^'' indicates that these are transistor gate attributes). If
textual, they are treated as symbols which can be assigned a numeric value at the time ext2sim is run. The -s flag is used to
assign numeric values to symbols. If a textual symbol appears in one of the above attributes, but isn't given a numeric value via
-s (or -S below), then it is ignored; otherwise, the transistor's length or width is set to the numeric value defined for that sym-
bol. (This option is not currently used by extcheck, but it is common to ext2sim(1) and other tools that are written using the
extflat(3) library)
-C Set the capacitance threshold to infinity. Because this avoids any internodal capacitance processing, all tools will run faster
when this flag is given.
-R Set the resistance threshold to infinity.
-S symfile
Each line in the file symfile is of the form sym=value, just like the argument to the -s flag above; the lines are interpreted in
the same fashion. (This option is not currently used by extcheck, but it is common to ext2sim et. al.)
-T tech
Set the technology in the output .sim file to tech. This overrides any technology specified in the root .ext file.
SEE ALSO
ext2dlys(1), ext2sim(1), ext2spice(1), magic(1), rsim(1), sim2spice(1), ext(5), sim(5)
AUTHOR
Walter Scott
BUGS
The -s mechanism is incomplete; it should allow quantities other than transistor lengths and widths to be specified.
EXTCHECK(1)