Organization: Bell-Northern Research Ltd.
Another query on the same lines. Is '-m' option of mkdir specific to HP-UX ?Quote:>Hi,
>Two different queries about 'umask' and 'stty' commands of Unix.
>A query about 'umask'. They do not work the same for directories and files.
>Eg. umask 000. A directory created after the umask has 777 permissions
>whereas a file has 666 permissions. I don't think the man pages say anything
>about this. Is it that generally files are not to have any execute
>permissions by default and the permissions have to be given consciously ?
>Also I notice that the command 'stty -echo' for masking the input characters
>doesn't work on 'csh'. It works fine in 'sh' and 'ksh'. This also doesn't
>seem to be documented in the 'csh' man pages.
>I use HP-UX 09.05. Any response would be appreciated.
This is for creating directories with specified permissions, but doesn't work
as expected always.