Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Permissions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Permissions
Authored by: professor on May 07, '03 05:58:56PM

It surprises me that someone would prefer to compromise the security of their machine, rather than remember to type

sudo chmod 755 / 

after running the Installer.

I guess there's no accounting for tastes.



[ Reply to This | # ]
Permissions
Authored by: SonicMcTails on May 07, '03 09:07:23PM

The reason I submitted this hint us because sendmail doesn't
like /etc as a symlink, and it reads / instead. If you were to
read Compile/System Quarks on sendmail.org, it says a
possiable fix for this extact problem.

In applying the alternate workaround, care must be taken
while swapping the symlink /etc with the directory /
private/etc. In all likelihood any admin who is concerned
with this sendmail error has enough experience to not
accidentally harm anything in the process.
a. Swap the /etc symlink with /private/etc (as superuser):
rm /etc
mv /private/etc /etc
ln -s /etc /private/etc

b. Set / to group unwritable (as superuser):
chmod g-w /

Finnally, Sendmail runs in a smrsh enviroment be default, it
can't even launch any programs that there isn't a sym. link to.

---
Instert Better Signature Here ...



[ Reply to This | # ]
Permissions
Authored by: hagbard on May 21, '03 04:41:15PM

See the problem is that the system resets the permissions more or less every hour.
I set up a cron job to set the perm to 755 on a hourly basis, which I feel is the safest way to go



[ Reply to This | # ]