On Tue, Dec 02, 2003 at 09:55:11AM -0000, Morrison, John wrote: > Corinna Vinschen wrote: > > On Sun, Nov 30, 2003 at 12:23:28PM -0000, John Morrison wrote: > >> As per the thread "[RFC] Globally creating a user and a group "root"" > >> I've modified the base-passwd packaged to remove user and group which > >> match the pattern ":S-1-1-0:" and ensure that there's a group > >> "root:S-1-5-32-544:0:". > >> > >> Since this version creates tmp files I'd prefer it to be marked as > >> test until Corinna (and maybe some others?!) say it's OK. > > > > Is it safe to rely on /tmp already existing when the postinstall > > script runs? Then it's OK. It might be safer though, to use /etc > > for the temporary files, too. > > I don't know. I tried using ~ but it gave me errors (home wouldn't > exist at that time). I could add an empty /tmp to the package...?
If you used ~ you're out of luck when using /bin/sh. It doesn't know about ~, just $HOME. But even then you won't know if there is a home directory. > I'll repackage with /etc for the tmp files tonight :) Cool. It might just be my paranoia but... Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.