umask

Due to urgent requirement to resolve some permission issues , I wish
to set solaris 8 server so that any file written is on 777 .

I guess need to set umask , how to set it ??

set umask to 027, /etc/profile is the file to be updated.

NOTE: all files created from now on will have the default permission of 750

Or in reality often 640, because umask alone does not determine the result. The application which creates the file requests a file mode -- usually 644 or 666 -- and umask merely restricts that further.

You don't really want everything to be 777; if you do, sorry, you should be fired. Nothing personal, but the practice of using 777 is catastrophically sloppy.

Thats y I recommended 750 instead... falcon16 , Never compromise on security on any circumstances

If you need to have this then

Umask 000 will sort you

  1. any ordinary file will have 444
  2. directories 777

set this in /etc/profile
ie. Umask=000
But I dont recomend this..... Unsecured

If every file has permissions of 777 then anybody can edit or delete them, yuck!

that was my first thought too....

if I see admins asking about how to do 777 or 666 I assume that they are asking the wrong question.

what is the problem you are trying to solve?
why do you think you need 777 ?

if you can answer the above questions then we will be able to help you find a good secure solution to your problem.