Re: Run Unix script and permissions...
- From: solaris <solaris@xxxxxxx>
- Date: Fri, 24 Aug 2007 11:00:15 +0200
On 2007-08-24 10:04:39 +0200, Kvochur <kvochur@xxxxxxxxx> said:
Hi to all,
I am a very newbie with Mac OS X and Unix systems in general, but I am
an expert Windows user.
In windows to run a script (DOS batch file or Windows CMD file, but
there is the same thing) is needed only a click in the Explorer.
in terms of usability it might be a desirable thing to have newly created files, such as batch scripts, to be immediately executable.
from a security point of view this is of course not desirable. as such on unix systems files are usually created without execute permissions. files requiring execute permissions need to be explicitly chmodded +x.
In Mac OSX first i need assign execute permission (chmod .....). I
would know if it is possible also with the GUI, because the Finder
show only read/write permissions but not execute. Any utility ?
the standard GUI does not allow setting the x bit AFAIK. probably to protect the user from making resources executable that don't require it. you might try tools like Path Finder that allow setting x bit i think.
Then, because I use so much script, it would more confortable run a
script simply clicking on it in the Finder, instead of open the shell,
exactly like in Windows. Any way to do this ?
once the x-bit is set, you can click on it in finder and it is run in terminal/iterm :)
--
regards,
solaris
.
- References:
- Run Unix script and permissions...
- From: Kvochur
- Run Unix script and permissions...
- Prev by Date: Run Unix script and permissions...
- Next by Date: Re: Is OS X login password good enough?
- Previous by thread: Run Unix script and permissions...
- Next by thread: Re: Run Unix script and permissions...
- Index(es):
Relevant Pages
|
Loading