[svlug] Setting a files properties

Robert Khachikyan rkhachik at sdsio.jpl.nasa.gov
Mon Jan 7 11:45:11 PST 2002


To execute a file, whether a script or a program,
you must have the permissions of the file allow
it to be executable.
I think 'chmod 755 filename' or 'chmod 700 filename'
is pretty easy itself.
If you create a file and it's permissions are something else,
then you have to play with your 'umask' to set anything
you want when the file is created.
do 'man umask' and you'll get more info....

I hope I answered your question.

As Always,

-----Original Message-----
From: svlug-admin at svlug.org [mailto:svlug-admin at svlug.org]On Behalf Of
Todd G. Gardner
Sent: Monday, January 07, 2002 11:37 AM
To: svlug at svlug.org
Subject: [svlug] Setting a files properties


How do I make a script file execute when typing "./filename"?

Can I use chmod to do this or is there a better way?

Thank you,


svlug mailing list
svlug at lists.svlug.org

More information about the svlug mailing list