jm at jmason.org wrote:
> Hi all --
>> a quick Debian question. I've migrated from Dead Rat/Fedora Core with
> quite a lot of success, except for one niggling annoyance -- the way
> debian chmods most of the /var/log files to mode 600.
>> I'm on a single-user machine. I don't want to have to sudo to check
> a logfile. Is there a way to override this to 644?
>> --j.
edit /etc/profile
The last line should be umask 022
change that and your done, thats for all profiles. to change it for yourself
add the command 'umask 644' to your .profile
--
DISCLAIMER: The information contained in this email and in any attachments
is confidential and is designated solely for the attention and use of the
intended recipient(s). If you are not the intended recipient(s) of this
email you must not use, disclose, copy, distribute or retain this message,
the attachment(s) or any part thereof. If you believe that you have
received this email in error please notify us immediately at the address set
out below. Please also delete all copies of this email and any
attachment(s) from your computer system.
Unless expressly stated this email is not intended to create any
contractual relationship. If this email is not sent in the course of the
senders employment or fulfilment of his/her duties to Aer Rianta, Aer Rianta
accepts no liability whatsoever for the content of this message or any
attachment(s).
infosec at aer-rianta.ie
Aer Rianta, Head Office, Dublin Airport
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!