You are not logged in.
Pages: 1
A little while back, I discovered a way for the system to automatically make the permissions of files I create 0640. I've changed my mind about that now (since a permissions problem gave me hell with sqlite all day), and I've forgotten what I can do to restore it to the default 0666. Any advice? I've checked /etc/profile and /etc/fstab for any clues, and found nothing. Nothing was mounted with a umask, since I can chmod said files to 0666 after creating them.
[Edit] Nevermind; My default was 644 after all.. Google says using 'umask' in .bash_profile will do the trick, though.
Last edited by xelados (2008-03-01 01:38:38)
Offline
Run "umask 0022". That give the default 644 permissions...
Offline
Pages: 1