how to add exec permission to other users

2011-08-17 Thread Long Wind
I have a program
It can be run by root only
I want to add exec permission to other users
so they can run it too
how to use chmod?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAB-gxZCuJZ_EMf_zCRs+f9w0Dk3HeoEyqM9hiP7GEZ5pt=f...@mail.gmail.com



Re: how to add exec permission to other users

2011-08-17 Thread Dejan Ribič

Dne 17.8.2011 13:58, piše Long Wind:

I have a program
It can be run by root only
I want to add exec permission to other users
so they can run it too
how to use chmod?



Hi,

  to answer your question: /sudo chmod a+x filename/
For further details use /man chmod/.

Cheers,

Dejan


Re: how to add exec permission to other users

2011-08-17 Thread Kumar Appaiah
On Wed, Aug 17, 2011 at 06:58:52AM -0500, Long Wind wrote:
 I have a program
 It can be run by root only
 I want to add exec permission to other users
 so they can run it too
 how to use chmod?

You should be able to use chmod a+x filename. But please be aware of
the security implications of doing this before taking this step (is
the application meant to be run only as root?).

Kumar
-- 
[...] or some clown changed the chips on a board and not its name.
(Don't laugh!  Look at the SMC etherpower for that.)
-- from /usr/src/linux/MAINTAINERS


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110817123014.ga3...@bluemoon.alumni.iitm.ac.in



Re: how to add exec permission to other users

2011-08-17 Thread Long Wind
Thank Kumar and Dejan!
The program is mozilla in Mandrake 10.0
It still doesn't work
after I run the command you suggest
I'll give up.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAB-gxZAhqkJGdOcm0O4cmmk=33cd4hjjoyk8tmatwu-wvdb...@mail.gmail.com



Re: how to add exec permission to other users

2011-08-17 Thread Tony van der Hoff

On 17/08/11 14:30, Long Wind wrote:

Thank Kumar and Dejan!
The program is mozilla in Mandrake 10.0
It still doesn't work
after I run the command you suggest
I'll give up.



I think you should give up.

Mandrake 10 was released in 2004, so it's now 7 years old, and full of 
security holes. Running mozilla as root is an invitation to all sorts of 
nasties.


Finally, if you need help with mandr{ake|iva} you should be asking on 
their forums, who will have a much better knowlege than us on this 
DEBIAN group.



--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e4bc5e7.3070...@vanderhoff.org