[Wien] [not solved] regarding permission of Wien2k commands
Víctor Luaña Cabal
victor at fluor.quimica.uniovi.es
Thu Nov 17 19:05:42 CET 2016
On Thu, Nov 17, 2016 at 11:05:21PM +0530, Dr. K. C. Bhamu wrote:
> Thank you Dr. Víctor for suggestion.
> But, it could not helped me.
> I ran the chmod -R ugo+r,a+X * command in the Wien2k dir and the problem
> is still same:
>
> -rwxrwxr-x for all files.
Do you mean that every file has those permissions? Including executabables,
inputs and uoutputs?
In that case you have to use the chmod ro remove permissions or set
exactly then to the ones you decide.
The permissions at the time of creation of a new file are decided by
the umask setting. For instance, if you are using bash your ~/.bashrc
shoud containg something like
umask 027
that will give you (the owner) rw permission and the x will be provided
after compilling and loading, or you can assing it with a chmod un the
case you are creating a text script (bash, pytho, awk, ...) and decide
to convert the script into a executable.
The umask gives also everybody in your group r permissions, and others
no permission whatever.
Try reading a good user guide on the shell you prefer. It pays the time
you dedicate at the beginning.
Best regards,
V.
More information about the Wien
mailing list