Rc script permission problem


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Rc script permission problem
# 1  
Old 03-09-2009
Java Rc script permission problem

Hi,

I have written a startup script which has be started while reboot.

I am using Solaris10 machine and i have logged in as a root user.

I have written a code the following code

cp ./StartService /etc/init.d/

chmod 744 /etc/init.d/StartService //i have given it executable permissions

chgrp root /etc/init.d/StartService //i have changed it group to root

ln -s /etc/init.d/StartService /etc/rc2.d/S200StartService //while startup
ln -s /etc/init.d/StartService /etc/rc0.d/K800StartService //whle shutdown


Still after running this script i see the following

rw-r-r root root Service

i am unable to get executable permission for the StartService.

I am not sure whether i can give 3digits after S in <S200StartService>.

pls solve my problem.

Thanks in advance
RaghuDeep Amilineni
raghu.amilineni
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SVN Permission problem

I am running subversion 1.6.6 on Ubuntu 10.04 (Lucid), Viewvc 1.0.9 and apache2 (2.2.14) and LDAP authentication. I have multiple repositories on my SVN server and it all working fine, however I am unable to set access control (permissions) using AuthzSVNAccessFile. “SVNParentPath... (0 Replies)
Discussion started by: hassan1
0 Replies

2. Slackware

K3b permission problem

When I set up to backup /home to a DVD I am incurring a problem with K3B ver. 2.0.2 saying I (root) has insufficient privileges to access /home/myuser/hp-check.log file. It also does this to the lost+found files for /home and /opt. I am root and the file/directory has read+write privs for root.... (1 Reply)
Discussion started by: slak0
1 Replies

3. UNIX for Dummies Questions & Answers

Permission problem

How would i change permissions for a new directory so that i am the only one who has any access to any of the files created in it (2 Replies)
Discussion started by: trob
2 Replies

4. Solaris

Rc script permission problem

Hi, I have written a startup script which has be started while reboot. I am using Solaris10 machine and i have logged in as a root user. I have written a code the following code cp ./StartService /etc/init.d/ chmod 744 /etc/init.d/StartService //i have given it executable permissions... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies

5. AIX

Peculiar permission problem

Scenario: Step 1. I'm logging into AIX server using user id called user1 Step 2. I'm traversing to home directory of user2 Note: This user2's home directory has the permissions drwxr-s--- Step 3. I'm issuing command pwd there. I'm getting the expected output. Step 4. I'm issuing the... (3 Replies)
Discussion started by: krishmaths
3 Replies

6. Solaris

file permission problem

Hi Expert, Could you tell me what is the meaning of " + " as shown below: drwxr-xrwx+ /opt Thanks. (2 Replies)
Discussion started by: skully
2 Replies

7. Linux

dos2unix permission problem

Hi All, I want to use the command "dos2unix" to format the file line break from win to unix, but after changing the file permission has been change to 600. how can i keep the original permisson after formatting? Many thz (2 Replies)
Discussion started by: eric_wong_ch
2 Replies

8. Solaris

Permission Problem

I ran the sys-unconfig command and now I can't seem to change the permission on that folder evne though I'm the Superuser(Root admin). I need to fix this so the user 'tommy' can login and have his home directory working. How do I fix this??? http://www3.telus.net/superstar/error.jpg (6 Replies)
Discussion started by: kungpow
6 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Permission problem

I am having problems editing my options and profile etc. Whenever i do, i am getting a message that says I don't have any permissions. Can u tell me a solution. (2 Replies)
Discussion started by: rockyrak
2 Replies

10. UNIX for Dummies Questions & Answers

File permission problem

I have a crontab job that runs a database backup and directs the output to a log. I ran the job, and the output log file was created with no problems, but now if I try and run the same job again, I keep getting a file exists error. The permissions are: -rw-rw-r-- I also tried changing the... (2 Replies)
Discussion started by: jodie
2 Replies
Login or Register to Ask a Question
GDNC(1) 						       GNUstep System Manual							   GDNC(1)

NAME
gdnc - GNUstep Distributed Notification Center SYNOPSIS
gdnc DESCRIPTION
The gdnc daemon is used by GNUstep programs to send notifications and messages to one another. By default it uses private inter-process communications accessible only to the curtrent user on the machine on which it is running (where the operating system supports them). Every user needs to have his own instance of gdnc running. While gdnc will be started automatically as soon as it is needed, it is recom- mended to start gdnc in a personal login script like ~/.bashrc or ~/.cshrc. Alternatively (if you have no command-line tools which use distributed notifications) you can launch gdnc when your windowing system or the window manager is started. For example, on systems with X11 you can launch gdnc from your .xinitrc script or alternatively - if you are running Window Maker - put it in Window Maker's autostart script. See the GNUstep Build Guide for a sample startup script. OPTIONS
To attach gdnc to a remote session use the -NSHost hostname argument. To run a copy of the server to handle public notifications (available to all users on the local machine) -GSPublic YES To run a copy of the server to handle network-public notifications (available to all users able to connect to the local machine on the net- work) -GSNetwork YES DIAGNOSTICS
gdomap -L GDNCServer will lookup instances of gdnc which were launched with the NSHost, GSPublic, or GSNetwork command line arguments. Alternatively, gdomap -N will list all registered names on the local host. SEE ALSO
gdomap(8), GNUstep(7), gpbs(1) The GNUstep Build Guide example startup script: <http://gnustep.made-it.com/BuildGuide/index.html#GNUSTEP.SERVICES> HISTORY
Work on gdnc started October 1998. This manual page first appeared in gnustep-base 1.7.2 (July 2003). AUTHORS
gdnc was written by Richard Frith-Macdonald <rfm@gnu.org>. This man page was written by Martin Brecher <martin@mb-itconsulting.com>. GNUstep August 2003 GDNC(1)