02-01-2009
It might not make a big difference though cos it was already mounted with read/write perm globally
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all
can someone tell me how to set the follwoing permissions in the /etc/exports file to share a directory.
I need 2 users eg a+b to be able to read and write to the directory but everyone else to just read. we have NIS in our environment and I though I could use netgroups do do this. My... (2 Replies)
Discussion started by: silvaman
2 Replies
2. HP-UX
Hello,
If I have an export like:
/usr/temp -rw=ram:alligator
means that /usr/temp has "rw" permissions to ram and alligator machines and has "ro" to everyone else? (1 Reply)
Discussion started by: psimoes79
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time.
Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem..
Can... (1 Reply)
Discussion started by: KhawHL
1 Replies
4. Solaris
Hi,
I have an NFS mount on a Solaris 10 server with file permissions nobody:nobody. This is an NFS export from an Netapp filer. Export attributes from the filer are below.
Anonymous User ID=0
Read-Write Access (All Hosts)
Security (sys)
I have other NFS exports set up with the same... (7 Replies)
Discussion started by: gwhelan
7 Replies
5. AIX
We need to allow ordinary users to preform NFS mounts on a AIX server without giving them root access to the server. Is there a way to give an ordinary users root access on a tem basis or a script to allow them to preform NFS mounts? (4 Replies)
Discussion started by: daveisme
4 Replies
6. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
7. Solaris
Hi all.
I have a nas mounted on a solaris box as /u04.
Currently I am getting a permission denied error from my HP DataProtector backup and when I ls -l the actual directory I get:
drwxrwxrwt 5 65535 nogroup 4096 Nov 9 13:46 u04
I also have SAN mounted as /u06 and it is... (1 Reply)
Discussion started by: jamie_collins
1 Replies
8. Shell Programming and Scripting
Hi All,
I have an nfs share which I mounted to my linux machine as below.
df -k output
TSDapp-na-02:/vol/tsd_app_1/rn_jira
47185920 11663072 35522848 25% /opt/rn_jira
I have no entry for this in my /etc/fstab. I did it by the following way.
mount -t nfs... (2 Replies)
Discussion started by: Tuxidow
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client.
Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Discussion started by: Rossdba
0 Replies
10. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
SIN(3M) SIN(3M)
NAME
sin, cos, tan, asin, acos, atan, atan2 - trigonometric functions and their inverses
SYNOPSIS
#include <math.h>
double sin(x)
double x;
double cos(x)
double x;
double tan(x)
double x;
double asin(x)
double x;
double acos(x)
double x;
double atan(x)
double x;
double atan2(y,x)
double y,x;
DESCRIPTION
Sin, cos and tan return trigonometric functions of radian arguments x.
Asin returns the arc sine in the range -pi/2 to pi/2.
Acos returns the arc cosine in the range 0 to
Atan returns the arc tangent in the range -pi/2 to pi/2.
On a VAX,
atan2(y,x) := atan(y/x) if x > 0,
sign(y)*(pi - atan(|y/x|)) if x < 0,
0 if x = y = 0, or
sign(y)*pi/2 if x = 0 != y.
DIAGNOSTICS
On a VAX, if |x| > 1 then asin(x) and acos(x) will return reserved operands and errno will be set to EDOM.
NOTES
Atan2 defines atan2(0,0) = 0 on a VAX despite that previously atan2(0,0) may have generated an error message. The reasons for assigning a
value to atan2(0,0) are these:(1) Programs that test arguments to avoid computing atan2(0,0) must be indifferent to its value. Programs that require it to be invalid
are vulnerable to diverse reactions to that invalidity on diverse computer systems.(2) Atan2 is used mostly to convert from rectangular (x,y) to polar (r,theta) coordinates that must satisfy x = r*cos theta and y = r*sin
theta. These equations are satisfied when (x=0,y=0) is mapped to (r=0,theta=0) on a VAX. In general, conversions to polar coordinates
should be computed thus:
r := hypot(x,y); ... := sqrt(x*x+y*y)
theta := atan2(y,x).
(3) The foregoing formulas need not be altered to cope in a reasonable way with signed zeros and infinities on a machine that conforms to
IEEE 754; the versions of hypot and atan2 provided for such a machine are designed to handle all cases. That is why atan2(+-0,-0) =
+-pi, for instance. In general the formulas above are equivalent to these:
r := sqrt(x*x+y*y); if r = 0 then x := copysign(1,x);
if x > 0 then theta := 2*atan(y/(r+x))
else theta := 2*atan((r-x)/y);
except if r is infinite then atan2 will yield an appropriate multiple of pi/4 that would otherwise have to be obtained by taking limits.
ERROR (due to Roundoff etc.)
Let P stand for the number stored in the computer in place of pi = 3.14159 26535 89793 23846 26433 ... . Let "trig" stand for one of
"sin", "cos" or "tan". Then the expression "trig(x)" in a program actually produces an approximation to trig(x*pi/P), and "atrig(x)"
approximates (P/pi)*atrig(x). The approximations are close, within 0.9 ulps for sin, cos and atan, within 2.2 ulps for tan, asin, acos
and atan2 on a VAX. Moreover, P = pi in the codes that run on a VAX.
In the codes that run on other machines, P differs from pi by a fraction of an ulp; the difference matters only if the argument x is huge,
and even then the difference is likely to be swamped by the uncertainty in x. Besides, every trigonometric identity that does not involve
pi explicitly is satisfied equally well regardless of whether P = pi. For instance, sin(x)**2+cos(x)**2 = 1 and sin(2x) = 2sin(x)cos(x) to
within a few ulps no matter how big x may be. Therefore the difference between P and pi is most unlikely to affect scientific and engi-
neering computations.
SEE ALSO
math(3M), hypot(3M), sqrt(3M), infnan(3M)
AUTHOR
Robert P. Corbett, W. Kahan, Stuart I. McDonald, Peter Tang and, for the codes for IEEE 754, Dr. Kwok-Choi Ng.
4th Berkeley Distribution May 12, 1986 SIN(3M)