![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Retain file permissions when saving .sh file from internet [OS X] | baza210 | Shell Programming and Scripting | 4 | 12-11-2008 10:18 AM |
| To give the "unzip" permissions & "create" file permissions | Mike1234 | HP-UX | 3 | 03-02-2008 05:34 PM |
| help with file permissions | bbbngowc | Security | 3 | 12-21-2007 01:34 PM |
| file permissions on www | vic20 | UNIX for Dummies Questions & Answers | 4 | 12-09-2003 04:11 PM |
| File and Dir permissions | thomas.jones | UNIX for Dummies Questions & Answers | 11 | 04-19-2002 10:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Regarding File permissions
Hi,
I have a shellscript.I want to protect the source code. So I gave 711 permission on the file(owner=rwx,group=x,others=x) but still others are not able to execute it. Please help me in protecting the source code.I don't want others to use any cat or vi command on the script but others should be able to execute it. Thanks in anticipation. |
|
||||
|
Running your script requires r + x access.
Try compiling the script into an exectuable with shc How to compile shc: shc: shell compiler? download shc from here: shc 3.8.6 free download. shc project is a generic shell script compiler. It takes a script which is specified on the command line and produces C source cod |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|