09-14-2009
could you give me some more information ?
I tried chmod no SITE
but it doesn't work...
what did you mean in your previous message ?
thanks
7 More Discussions You Might Find Interesting
1. Solaris
hello
How can i change the ip address on my solaris sun 9 server ?
thank you (7 Replies)
Discussion started by: pascalbout
7 Replies
2. Shell Programming and Scripting
Hi,
I would like realize a script that it can change " wc -l" with "wc -l | sed 's/ //g'", but my problem is that i can have
a pipe ,a variable ( many variable different) or a file after wc -l ?how i could test this several case ?
wc -l | cut -d' ' -f1`
if
wc -l ${F} | awk... (1 Reply)
Discussion started by: francis_tom
1 Replies
3. Homework & Coursework Questions
bh,lg.yu.,fgh,ry,.tyl,tyk,ty,ty,ty,. (7 Replies)
Discussion started by: frankycool
7 Replies
4. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
5. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
6. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
7. SCO
Hello
I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller .
The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver)
What ... (3 Replies)
Discussion started by: flako
3 Replies
LEARN ABOUT DEBIAN
explain_chmod_or_die
explain_chmod_or_die(3) Library Functions Manual explain_chmod_or_die(3)
NAME
explain_chmod_or_die - change permissions of a file and report errors
SYNOPSIS
#include <libexplain/chmod.h>
void explain_chmod_or_die(const char *pathname, int mode);
DESCRIPTION
The explain_chmod_or_die function is used to call the chmod(2) system call. On failure an explanation wiil be printed to stderr, obtained
from explain_chmod(3), and the the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_chmod_or_die(pathname, mode);
pathname
The pathname, exactly as to be passed to the chmod(2) system call.
mode The mode, exactly as to be passed to the chmod(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exit(EXIT_FAILURE)s.
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
AUTHOR
Written by Peter Miller <pmiller@opensource.org.au>
explain_chmod_or_die(3)