[ILUG] quick Debian question

Brendan Halpin brendan.halpin at ul.ie
Tue Apr 27 12:31:58 IST 2004


Niall O Broin <niall at linux.ie> writes:

> >add the command 'umask 644' to your .profile
> 
> That's not right, I'm afraid. The umask value controls the umask of a
> login shell, and has nothing to do with the permissions on log files
> (which I imagine is a part of Debian policy). And in order to get
> permissions of 644 on files, the umask needed IS 022 (man umask for
> explanation).

Cian rather tersely gave the best solution earlier: if you're a
user who needs to read logs etc., put yourself in the adm group.
This seems to be used to give read access in lots of places.

Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
mailto:brendan.halpin at ul.ie  http://www.ul.ie/sociology/brendan.halpin.html



More information about the ILUG mailing list