You are not logged in.

#1 2008-03-01 00:54:36

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Modifying default permissions? (Answered)

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

#2 2008-03-01 01:12:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: Modifying default permissions? (Answered)

Run "umask 0022".  That give the default 644 permissions...

Offline

Board footer

Powered by FluxBB