Glynn Clements wrote:
> Also, lib/init/init.sh had two occurrences of:
> 
>       echo "umask 022" >> "$bashrc"
> 
> which I have removed.

any g.access repercussions to this? (beyond the obvious)

> The remaining occurrence:
> 
>       tmp=/tmp/grass6-$USER-$GIS_LOCK
>       (umask 077 && mkdir "$tmp") || {
> 
> has been retained, although I'm not sure why this doesn't just use
> "mkdir -m 007" rather than (temporarily) setting the umask.


my inspiration for that:
  http://www.linuxsecurity.com/content/view/115462/151/#mozTocId648982

Is 'mkdir -m' portable?


Hamish

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to