[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 06 Nov 2002 8:24 pm, Neil Williams wrote:
On Wednesday 06 Nov 2002 7:28 pm, Rick Timmis wrote:so far each users can do exactly as i intended with existing files in the folder. e.g staff 1 writes to file X then the permissions remain unchanged. However when staff 1 creates a new file it becomes readonly to all the other members of the group staff. Newly created files have the following persmissions user RW group R others RYou need to work on the umask to set 664 instead of 644, umask of 113 instead of 133. I think it goes in .bash_profile but check man umask. (umask reduces the permissions from 777, so 777-113=664) (Although I've probably got it wrong somewhere.)
Told you I probably had it wrong, the umask I have set on this RH machine is 002 and new files are created 664, rw-rw-r-- perfect for your needs. Try man 2 umask - more informative than man umask alone. - -- Neil Williams ============= http://www.codehelp.co.uk/ http://www.dclug.org.uk/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9yYAek7DVr6iX/QIRAm04AJ9NTVF53fPtpdhCUQyJu7LpYtXyvgCfZst+ E7wp+BtvOYpGtIa6g6/n5ww= =HnXT -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.