Results 1 to 4 of 4
How do I change the attributes of a file to make it executable??...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-14-2005 #1
make a file executable
How do I change the attributes of a file to make it executable??
- 01-14-2005 #2Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Use the chmod command. The attributes are read/write/execute for root/user/group with the values being 4-2-1,4-2-1,4-2-1. To give everyone execute only access to a file, you'd
For all permissions, it'd beCode:chmod 111
Root only r/w/x would beCode:chmod 777
Hope that helps,Code:chmod 700
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 01-14-2005 #3
also you can use
Code:chmod +x <service or program>
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 01-15-2005 #4
That works for files like the java and limewire installer.
For instance, you type:
This will change this file to an executable.Code:chmod +x limewirelinux.bin


Reply With Quote
