Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-23-2011, 10:17 PM   #1
LQ Newbie
Registered: Feb 2011
Location: Pune, India
Distribution: Ubuntu 9.10
Posts: 29

Rep: Reputation: 0
chmod querry

can chmod make any file executable?
Old 02-23-2011, 10:25 PM   #2
Senior Member
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
You might like to bookmark this:
and chmod is used to change permissions of files, and permissions can be
read, write, execute and can also be assigned to a particular user or a group of
users or to ALL.

Searching Google with the keywords GNU Linux file permissions will add to
your knowledge.
Old 02-24-2011, 12:58 AM   #3
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
chmod can give any file the permission to execute. Of course only actual binary programs and scripts will execute. A regular file given the permission to execute still won't do anything if you try to run it.
Old 02-24-2011, 02:02 AM   #4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Also, directories need executable permissions if you want to change to them (why this is the case, I don't know, however).
Old 02-27-2011, 05:56 AM   #5
LQ Newbie
Registered: Feb 2011
Location: Pune, India
Distribution: Ubuntu 9.10
Posts: 29

Original Poster
Rep: Reputation: 0
okkiez! thanks! some time you are so infant that you dont even know what to google! well, i knew i'll get ans here!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache: difference between chmod 644 and chmod 666 and chmod 600 for output/txt/dat? frenchn00b Programming 6 04-22-2009 01:10 PM
intermec querry Rapido F. Linux - Laptop and Netbook 0 11-07-2006 03:33 PM
modem querry kapalka Linux - Hardware 2 03-26-2005 01:57 PM
Querry regarding ps command shivanandbg Linux - General 1 05-06-2004 10:28 AM
RPM querry mdf1016 Linux - General 3 05-30-2001 05:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration