11-28-2007
I found
this in the net, HTH.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
When ever gnome desktop crashes, is it write errors to any log files? if yes please let me know log file name and path for the same.
Thanks in advance for your inputs.
Regards
Bachegowda (0 Replies)
Discussion started by: bache_gowda
0 Replies
2. SuSE
Hi!
Does anyone know where to alter the default gnome setup that SLED 10.2 does?
I work for a big company and we have a huge issue with SLED adding the "main-menu" gnome panel applet thingie....
/opt/gnome/lib/gnome-main-menu/main-menu
Is there any way to exchange this process for ex the... (0 Replies)
Discussion started by: Esaia
0 Replies
3. Solaris
I'm looking for options for displaying a persistent, security banner on a Solaris 10 workstation running JDS that would display at the top of each workspace for all users, have the option to change the color and the capability to add text to the banner.
The company I work for has used JEDI for... (5 Replies)
Discussion started by: ArizonaTraveler
5 Replies
4. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
5. UNIX Desktop Questions & Answers
Hello All,
Last night I installed OpenSuSE 12.1 (i586) on a HP Mini 110 laptop. And I selected GNOME as my Desktop during install...
So I was trying to customize some things about the desktop, for example adding the Maximize/Minimize/Close options to the titlebar of a window.
I did this... (2 Replies)
Discussion started by: mrm5102
2 Replies
6. Red Hat
I want to have a xterm or xapplication from a Solaris client to appear on my RHEL Server running GNOME desktop. It may sound easy at first but, I have done the basics and I be stuck.
Have Tried:
Linux - logged in as root, open a Terminal and did a echo $DISPLAY and it reports back :0.0
I... (7 Replies)
Discussion started by: mrmurdock
7 Replies
UMASK(3) 1 UMASK(3)
umask - Changes the current umask
SYNOPSIS
int umask ([int $mask])
DESCRIPTION
umask(3) sets PHP's umask to $mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when
each request is finished.
PARAMETERS
o $mask
- The new umask.
RETURN VALUES
umask(3) without arguments simply returns the current umask otherwise the old umask is returned.
EXAMPLES
Example #1
umask(3) example
<?php
$old = umask(0);
chmod("/path/some_dir/some_file.txt", 0755);
umask($old);
// Checking
if ($old != umask()) {
die('An error occurred while changing back the umask');
}
?>
NOTES
Note
Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod(3) after creating the
file. Using umask(3) can lead to unexpected behavior of concurrently running scripts and the webserver itself because they all use
the same umask.
PHP Documentation Group UMASK(3)