roc has asked for the wisdom of the Perl Monks concerning the following question:
hi every one...i'm getting some problem with some permission issue..i have a cgi script to send sms ... it will receive details through form and work..i mean phone numbers,...... im using frdora 12 ....when i run the script as root i mean in command line the script connecting with gsm..but when i run as a user its not...i mean when as root (su -l root -c "/usr/bin/perl /path/to/script/script.cgi") then script giving the output as "connected" in command line.. but as user(su -l user -c "/usr/bin/perl /path/to/script/script.cgi") its giving "not connected" msg in terminal... i gave 755 permission for file. can any one tell me how to make the script to work for user. sorry for bad question formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with Permission
by almut (Canon) on Apr 22, 2010 at 16:22 UTC | |
by roc (Sexton) on Apr 23, 2010 at 10:59 UTC | |
by almut (Canon) on Apr 23, 2010 at 11:36 UTC | |
|
Re: Problem with Permission
by proceng (Scribe) on Apr 23, 2010 at 01:18 UTC |