![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading a file and writing the file name to a param file. | thebeginer | UNIX for Advanced & Expert Users | 1 | 10-05-2007 01:38 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 02:25 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Why can't I run a *.ksh file?
Hi
I'm interested to know why is it that I can't run a specific *.ksh file, is it due to permission settings? If it is, how can I work around that? I'm not logging on as the administrator, do I need to be an administrator to run *.ksh files?
__________________
Best regards Hun Khee |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The extension is irrelevant when it comes to what files you can run - unless you have something specifically written in your system - which is not likely.
Can you show me what the file permissions look like...and how it is you are trying to run the file. i.e do an "ls -l" for the file and then from the directory it's in type => ./filename
__________________
Pete |
|
#3
|
|||
|
|||
|
Type ls -l for looking at the permissions for the file..
The file's permission looks something like this.. -rwxr-xr-x r - read w - write x - execute The first three is for the owner and the second is for the group and the third for the others. U can change the file permissions using chmod Is this what u wanted to know?? -Nisha |
|
#4
|
|||
|
|||
|
well you might be able to change the permissions....depending on what they are...if you don't have the appropriate access you can't change the permissions....!!
__________________
Pete |
|
#5
|
|||
|
|||
|
Thanks!
Thanks guys for all the help you've provided me, I guess I'll have to check with my admin to see if I have the rights...
__________________
Best regards Hun Khee |
|
#6
|
||||
|
||||
|
Also, if you are calling a binary from a directory you don't have access to, you will get errors as well. So make sure you have permission to run any binaries that may be in your script.
__________________
My brain is your brain |
||||
| Google The UNIX and Linux Forums |