07-19-2001
You was on the right way with chmod .. but you took the wrong numbers: for executing a file you should use 777.
4=read
2=write
1=exec
so If you combine 4 + 2 you come to 6 and thats only read + write ... so add 1 to 7 and exec is also included.
hope this helps
br
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can a script run without execute permissions.
when i run myscript as :
sh a.sh
it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)
Discussion started by: Raom
1 Replies
2. Shell Programming and Scripting
This might be very silly question but i dont know y is it so...
i Have script
I have Given the permissions in the following manner...
-rwxrwx--x 1 root system 3 Jun 08 15:46 temp
I want no one to see what is present in that but should be able to execute it..
but when... (3 Replies)
Discussion started by: pbsrinivas
3 Replies
3. AIX
Hello All,
We have an existing ssh set-up between 2 Unix servers ( Server A and Server B). Recently, we've had a problem where we cannot delete files (via app engine and even manually, after connecting thru ssh) on Server B. We manage Server A but Server B is handled by a different group, as a... (1 Reply)
Discussion started by: chipahoys
1 Replies
4. Shell Programming and Scripting
How to execute a script with out giving x permission to the file? (7 Replies)
Discussion started by: praveen_b744
7 Replies
5. Shell Programming and Scripting
Here is my script.
1 echo -n "Enter file name : "
2 read file
3 chmod 777 $file
4 && W="write = yes" || W="Write = no"
5 chmod 777 $file
6 && X="Execute = yes" || X="Execute = No"
7 chmod 777 $file
8 && R="Read = yes" || R="Read = No"
... (0 Replies)
Discussion started by: qral_hdr
0 Replies
6. UNIX for Dummies Questions & Answers
I am other user who want to execute a file that its permission is -rw-rw-r--
how do I execute that file. (2 Replies)
Discussion started by: thsecmaniac
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a shell script(test.sh) and need to give execute permission for this shell script to user group
cobr_sftp and oracle.
Could you please help as to how to give this permission.
I have already given full access(777) to script test.sh. Does this mean all the users/user group can access... (1 Reply)
Discussion started by: abhi_123
1 Replies
8. Debian
Hello,
I need to install a program from a DVD. It uses a sh script called setup.
root@ragnok: head -2 /media/cdrom0/setup
#!/bin/sh
root@ragnok: ls -l /media/cdrom0/setup
-r-xr-xr-x 1 root root 4688 Nov 8 08:38 /media/cdrom0/setup
root@ragnok: /media/cdrom0/setup
bash:... (2 Replies)
Discussion started by: snorkack59
2 Replies
9. Red Hat
Hi All,
What is the use of execute permission for a folder.
I know "for execute a file(script file) we have to provide execute permission to that respective file".But what is the use to give execute permission to folder.Is it equal to read permission ?
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
10. Shell Programming and Scripting
Hi All,
I am not able to figure out what is the problem with calling a shell script within a shell script.
i have given all the permissions to both schell scripts.
but when i am seeing the log file error is coming like
weekly_us_push_rpts_tst.sh: ./vacation_quota_summary_detail.sh: Execute... (9 Replies)
Discussion started by: krupasindhu18
9 Replies
LEARN ABOUT DEBIAN
cppunit-config
cppunit(1) General Commands Manual cppunit(1)
NAME
cppunit-config - script to get information about the installed version of cppunit
SYNOPSIS
cppunit-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]
DESCRIPTION
cppunit-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro-
grams that use cppunit. It is also used internally to the .m4 macros for GNU autoconf that are included with cppunit.
OPTIONS
cppunit-config accepts the following options:
--version
Print the currently installed version of cppunit on the standard output.
--libs Print the linker flags that are necessary to link a cppunit program.
--cflags
Print the compiler flags that are necessary to compile a cppunit program.
--prefix
Print the prefix with which cppunit was compiled.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that cppunit was built with when computing the output for the --cflags
and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix
Print the exec-prefix with which cppunit was compiled.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that cppunit was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
COPYRIGHT
cppunit Copyright (C) 1996-2000 by Michael Feathers <mfeathers@objectmentor.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
AUTHOR
This manpage is an almost word-for-word copy of the gtk-config manpage, written by Owen Taylor. It was modified by E. Sommerlade
<eric@sommerla.de>.
September 2001 cppunit(1)