I really appreciate your help. I've almost got it.
I've got it to the point where if I log in at the console, new files created by John (or Richard, or whoever) are set properly.
However (and this is the tricky part) when new files are created from Windows (our developers each use Sunblades, the web directories are shared via NFS to the Solaris side and mounted to a mountpoint on the individual workstation, then the mountpoint is shared out so that they can be seen from Windows), the file shows the proper owner and group designation, but permissions are still showing up as
-rwxr--r--
I know that this is an issue with how Windows is talking to the local share drive. In the best of all possible worlds, we'd be using Samba for this task, but the decision was made (not by me) to use NFS.
At 11:06 AM 7/30/2003 -0700, you wrote:
--- Richard Crawford <[EMAIL PROTECTED]> wrote: > I'm afraid that this didn't work either. I performed all of the > commands > below, then did the following: > > # su john > # source ~/.profile > # touch zzzztestfile > # ls -l zzzztestfile > > What I saw was: > > -rwxr--r-- 1 john staff 152 Jul 30 08:14 zzzztestfile
This tells me something is still wrong with umask.
Try this: # su john # umask 002 # touch foo.bar # ls -l foo.bar
Are the permissions still wrong? If not, I'd try logging in as 'john' (not just su'ing) and trying it again. If so, try (as john) $ umask $ umask 002 $ umask
If there is a difference between the first and third execution of umask, then it is not being set during login.
Another place you can look is /etc/profile. This should be source by all logins, and there may be a global umask setting there. Whichever 'umask' command is run last during login will be in force.
-Tyler
===== -- Tyler Godfrey [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ Solaris-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________ Solaris-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/solaris-users
