03-07-2013
Does the problem persist?
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
We have a apps database running on HP-UX 11.11. Yesterday, we had a problem with the server which was resolved after rebooting the server. Now the problem I am facing is that now the files created by application manager user has weird file permissions. Like instead of rw-r-r it is... (1 Reply)
Discussion started by: isingh786
1 Replies
2. Linux
We are trying to run a program on a Red Hat ES3 machine that works fine under root user but not as any other user. I believe its getting denied access to the USB ports (which this program needs), Does anyone know how i can open up access to the USB ports on a machine to all users.
Thanks,
Frank (0 Replies)
Discussion started by: frankkahle
0 Replies
3. Solaris
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of ftp_user to... (4 Replies)
Discussion started by: Ariean
4 Replies
4. UNIX for Advanced & Expert Users
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of... (4 Replies)
Discussion started by: Ariean
4 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone,
I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions?
This is how they... (3 Replies)
Discussion started by: patrick99e99
3 Replies
6. HP-UX
Hi everybody,
following is the scenario;
OS HP UX 11.23
two users:
# id bodi
uid=109(bodi) gid=20(users) groups=1(other),2(bin),3(sys),106(oinstall)
# id ossmed
uid=121(ossmed) gid=20(users)
umask
077
directory name /home/mydir
directory permissions drwxrwxrwx
requirement: to... (3 Replies)
Discussion started by: ajays
3 Replies
7. Shell Programming and Scripting
I have a cron on a Linux server that isn't executing properly.
CRON (with specific info replaced):
MAILTO=emailaddress@server.com
*/2 * * * * python /data/site/cron.py
OUTPUT:
python: can't open file '/data/site/cron.py
': No such file or directoryAdditional info
- The python path is... (3 Replies)
Discussion started by: theHire
3 Replies
8. UNIX for Dummies Questions & Answers
Update: Please anybody can give some help ?
I've an issue with files ownerships.
I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.
However I'm now using svn and I need all folders and files to be owned by my... (1 Reply)
Discussion started by: aneuryzma
1 Replies
9. Shell Programming and Scripting
Hi Experts,
I have one ftp user which will FTP the files to two subdirectories of some other user.
Say i have one user "xyz" . It FTP's the file to the directory of "abc" user. I have added xyz user in abc group.
-rw-r--r-- 1 xyz abc 0 Jul 26 10:05 mo
-rw-r--r-- 1 xyz abc ... (1 Reply)
Discussion started by: sugarcane
1 Replies
10. Shell Programming and Scripting
Hi,
I have a shell script which calls oracle procedure.
Procedure creates a file using oracle utl_file and places file on unix server at loaction /tmp.
The file permission is getting set to 640 (Owner=oracle, group=dba)
I need it to be 644 by default. (So others can read it.)
The umask... (4 Replies)
Discussion started by: krishna_gnv
4 Replies
LEARN ABOUT MOJAVE
munmap
MUNMAP(2) BSD System Calls Manual MUNMAP(2)
NAME
munmap -- remove a mapping
SYNOPSIS
#include <sys/mman.h>
int
munmap(void *addr, size_t len);
DESCRIPTION
The munmap() system call deletes the mappings for the specified address range, causing further references to addresses within the range to
generate invalid memory references.
DIRTY PAGE HANDLING
How munmap() handles a dirty page, depends on what type of memory is being unmapped:
[Anonymous] If the memory is anonymous memory and if the last reference is going away, then the contents are discarded by definition
of anonymous memory.
[System V Shared] If the memory mapping was created using System V shared memory, then the contents persist until the System V memory region
is destroyed or the system is rebooted.
[File mapping] If the mapping maps data from a file (MAP_SHARED), then the memory will eventually be written back to disk if it's dirty.
This will happen automatically at some point in the future (implementation dependent). Note: to force the memory to be
written back to the disk, use msync(2).
If there are still other references to the memory when the munmap is done, then nothing is done to the memory itself and it may be swapped
out if need be. The memory will continue to persist until the last reference goes away (except for System V shared memory in which case, see
above).
RETURN VALUES
Upon successful completion, munmap returns zero. Otherwise, a value of -1 is returned and errno is set to indicate the error.
ERRORS
munmap() will fail if:
[EINVAL] The addr parameter was not page aligned (i.e., a multiple of the page size).
[EINVAL] The len parameter was negative or zero.
[EINVAL] Some part of the region being unmapped is not part of the currently valid address space.
LEGACY SYNOPSIS
#include <sys/types.h>
#include <sys/mman.h>
The include file <sys/types.h> is necessary.
int
munmap(caddr_t addr, size_t len);
The type of addr has changed.
SEE ALSO
getpagesize(3), msync(2), munmap(2), mprotect(2), madvise(2), mincore(2), compat(5)
HISTORY
The munmap() function first appeared in 4.4BSD.
BSD
October 16, 2008 BSD