[svlug] Setting a files properties

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


Todd,

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,
...Robert

-----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


Hello,

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,

Todd



_______________________________________________
svlug mailing list
svlug at lists.svlug.org
http://lists.svlug.org/lists/listinfo/svlug




More information about the svlug mailing list