LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-23-2011, 11:17 PM   #1
sujitkulkarni
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, 11:25 PM   #2
TheIndependentAquarius
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: http://linux.die.net/man/
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, 01:58 AM   #3
ongte
Member
 
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, 03:02 AM   #4
Nylex
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, 06:56 AM   #5
sujitkulkarni
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!
 
  


Reply


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 02:10 PM
intermec querry Rapido F. Linux - Laptop and Netbook 0 11-07-2006 04:33 PM
modem querry kapalka Linux - Hardware 2 03-26-2005 02:57 PM
Querry regarding ps command shivanandbg Linux - General 1 05-06-2004 11:28 AM
RPM querry mdf1016 Linux - General 3 05-30-2001 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 PM.

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