Sponsored Content
Homework and Emergencies Homework & Coursework Questions Trouble with setting permissions and such Post 303045144 by MadeInGermany on Thursday 12th of March 2020 02:40:30 PM
Old 03-12-2020
604 permission means
r+w for owner, nothing for group, w for others!
This is very unsafe: others may alter the file!
Check with "ls -l filename".
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting permissions

I've been told I need to set the permissions for everything in the htdocs folder to 777, but how do I go about doing this? Thanks:o (9 Replies)
Discussion started by: thehaapyappy
9 Replies

2. OS X (Apple)

Permissions trouble with WebDav

Hello! I need some advice about using WebDav in Mac OS 10.5 My problem is that I mount a WebDav folder in the hard drive pointing to a webdav directory service running under apache (it's Alfresco, if you know it) but the permissions of this directory, when mounted, are only for the user who... (0 Replies)
Discussion started by: osksp
0 Replies

3. UNIX and Linux Applications

SVN user permissions trouble

I am trying to add a user to my SVN server that can only access one of about a dozen repositories I have set up. Here are the files that I think need changed and what I have set them to. No matter what I try with these files I am unable to see the results I am after. In the end I want this new... (0 Replies)
Discussion started by: benn600
0 Replies

4. IP Networking

Trouble setting up a static IP on NetGear DGN1000

I have been trying to setup a static ip, however everytime I do so my internet disconnects and won't connect untill I switch back to dynamic. My router is a NetGear DGN1000 and I'm using it wired. Could anyone help? (0 Replies)
Discussion started by: zomigosh
0 Replies

5. Ubuntu

Trouble setting up Java classpath

Saw an error while setting up an application called i2phex: # ./run.sh java.lang.RuntimeException: Failed to initialize phex.net.repres.i2p.I2PPresentationManager at phex.common.ManagerController.initializeManagers(ManagerController.java:78) at phex.Main.main(Main.java:161)After... (0 Replies)
Discussion started by: Israel213
0 Replies

6. UNIX for Dummies Questions & Answers

Trouble Setting Up Sun Ultra 10 - Displaying Garbage

Hello there, I am new to this forum as well as to the UNIX world. Recently graduated with a degree in Computing and just started learning UNIX & bought 3 Sun Ultra 10 Servers. I was trying to set the Servers up so I can use them; the Servers don't have a VGA card. My laptop, which I would be... (6 Replies)
Discussion started by: frhan2u
6 Replies

7. Shell Programming and Scripting

Trouble setting up flag ( getopt) for my script

do case $option in d ) CHEC=true;; # more option processing can go here \? ) echo "Unknown option: -$OPTARG" : ) echo "Missing option argument for -$OPTARG";; * ) echo "Unimplimented option: -$OPTARG";; esac done shift $(($OPTIND - 1)) (2 Replies)
Discussion started by: upenmishra
2 Replies

8. UNIX for Dummies Questions & Answers

Trouble setting up a shared folder

I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Discussion started by: 14952john
3 Replies

9. Shell Programming and Scripting

Trouble with setting a variable with vastool

Hi I have this command that when put on the command line it returns the output the way I want it. /opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"" 'NF>2{print $2}' | cut -c2- | tr '\n' '|' The output of this is ... (2 Replies)
Discussion started by: ajetangay
2 Replies
POSIX_GETRLIMIT(3)							 1							POSIX_GETRLIMIT(3)

posix_getrlimit - Return info about system resource limits

SYNOPSIS
array posix_getrlimit (void ) DESCRIPTION
posix_getrlimit(3) returns an array of information about the current resource's soft and hard limits. Each resource has an associated soft and hard limit. The soft limit is the value that the kernel enforces for the corresponding resource. The hard limit acts as a ceiling for the soft limit. An unprivileged process may only set its soft limit to a value from 0 to the hard limit, and irreversibly lower its hard limit. RETURN VALUES
Returns an associative array of elements for each limit that is defined. Each limit has a soft and a hard limit. List of possible limits returned +-----------+---------------------------------------------------+ |Limit name | | | | | | | Limit description | | | | +-----------+---------------------------------------------------+ | core | | | | | | | The maximum size of the core file. When 0, not | | | core files are created. When core files are | | | larger than this size, they will be truncated at | | | this size. | | | | | totalmem | | | | | | | The maximum size of the memory of the process, | | | in bytes. | | | | |virtualmem | | | | | | | The maximum size of the virtual memory for the | | | process, in bytes. | | | | | data | | | | | | | The maximum size of the data segment for the | | | process, in bytes. | | | | | stack | | | | | | | The maximum size of the process stack, in bytes. | | | | | rss | | | | | | | The maximum number of virtual pages resident in | | | RAM | | | | | maxproc | | | | | | | The maximum number of processes that can be cre- | | | ated for the real user ID of the calling process. | | | | | memlock | | | | | | | The maximum number of bytes of memory that may | | | be locked into RAM. | | | | | cpu | | | | | | | The amount of time the process is allowed to use | | | the CPU. | | | | | filesize | | | | | | | The maximum size of the data segment for the | | | process, in bytes. | | | | |openfiles | | | | | | | One more than the maximum number of open file | | | descriptors. | | | | +-----------+---------------------------------------------------+ EXAMPLES
Example #1 Example use of posix_getrlimit(3) <?php $limits = posix_getrlimit(); print_r($limits); ?> The above example will output something similar to: Array ( [soft core] => 0 [hard core] => unlimited [soft data] => unlimited [hard data] => unlimited [soft stack] => 8388608 [hard stack] => unlimited [soft totalmem] => unlimited [hard totalmem] => unlimited [soft rss] => unlimited [hard rss] => unlimited [soft maxproc] => unlimited [hard maxproc] => unlimited [soft memlock] => unlimited [hard memlock] => unlimited [soft cpu] => unlimited [hard cpu] => unlimited [soft filesize] => unlimited [hard filesize] => unlimited [soft openfiles] => 1024 [hard openfiles] => 1024 ) NOTES
Note This is a not POSIX function, but is common on BSD and System V systems. If the system does not support this function, then it will not be included at compile time. This may be checked with function_exists(3). SEE ALSO
man page GETRLIMIT(2). PHP Documentation Group POSIX_GETRLIMIT(3)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy