10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Above is a search string I tried on Google that produced lots of hits but not much in the way of clues. And I wasn't looking for clues.
So I decided, for the first time, to ask the question here. What are the correct permissions for the .bash_aliases file?
iwrong (1 Reply)
Discussion started by: iamwrong
1 Replies
2. What is on Your Mind?
One more detail, since I never was interested in netflix or hulu. But since netflix started to make it harder for so called thugs, I see in iceweasel, firefox, konqueror, qupzilla (did not try Otter or Midori) that any adblocking policy or addon just slams down my browser immediately. Only chrome... (3 Replies)
Discussion started by: 1in10
3 Replies
3. Solaris
How and what other web browsers can I install for Solaris 11 86_64? (1 Reply)
Discussion started by: Fingerz
1 Replies
4. Shell Programming and Scripting
i have some question
for example:
suppose we have the Public folder as follows:
https://www.unix.com/attachment.php?attachmentid=2759&stc=1&d=1334070669
If the user enter:
-Kenshin
or /home/kenshin/Public
output: abc: kenshin: rw
my shell:
echo "Enter User:"
read user ... (3 Replies)
Discussion started by: kingkner
3 Replies
5. UNIX for Advanced & Expert Users
A perplexing mystery...
please note that i am not a lacky, and the error below is misleading
recently something i do all the time broke (a script).
now when i run this script i get this error.
/usr/bin/awk: 0403-027 The parameter list is too long.
note that the (parameter list is... (9 Replies)
Discussion started by: nullwhat
9 Replies
6. Web Development
Hi,
I am writing a web application using Perl CGI. And I have defined an frame within like this
"<iframe id=\"iframe01\" name=\"iframe01\" height=480 width=800 frameborder=0 scrolling=no></iframe>"
My problem is that this iframe appears differently on different browsers - IE6, IE7, Mozilla... (0 Replies)
Discussion started by: garric
0 Replies
7. Shell Programming and Scripting
Greetings,
I have a troubling problem with a Korn Shell concept that I know works in Solaris.
Essentially I am assigning file descriptors to a coprocess. Also, it should be noted that I am not using the public domain ksh but, rather AT&T ksh93.
Here is a test scenario:
$ sqlplus -s... (5 Replies)
Discussion started by: tmarikle
5 Replies
8. UNIX for Dummies Questions & Answers
I have a problem, that's of course why I'm here. I just today installed, Vector Linux on a PII 233mhz with 160mb ram. The OS is stable, runs well, and is speedy for this older computer while running some GUI version. I can't recall which one. I can find out but it the browsers crash in all the... (1 Reply)
Discussion started by: garfunkle
1 Replies
9. BSD
yes, i receive the same error message in all the browsers, the error message is: error host not found (1 Reply)
Discussion started by: nobody
1 Replies
10. UNIX for Dummies Questions & Answers
hello all,
to see what browsers exist on solaris server
what is the path and then how can i acces the
internet?
i appreciate your help.
thanks,
grep (4 Replies)
Discussion started by: grep
4 Replies
EUIDACCESS(3) Linux Programmer's Manual EUIDACCESS(3)
NAME
euidaccess, eaccess - check effective user's permissions for a file
SYNOPSIS
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <unistd.h>
int euidaccess(const char *pathname, int mode);
int eaccess(const char *pathname, int mode);
DESCRIPTION
Like access(2), euidaccess() checks permissions and existence of the file identified by its argument pathname. However, whereas access(2),
performs checks using the real user and group identifiers of the process, euidaccess() uses the effective identifiers.
mode is a mask consisting of one or more of R_OK, W_OK, X_OK and F_OK, with the same meanings as for access(2).
eaccess() is a synonym for euidaccess(), provided for compatibility with some other systems.
RETURN VALUE
On success (all requested permissions granted), zero is returned. On error (at least one bit in mode asked for a permission that is
denied, or some other error occurred), -1 is returned, and errno is set appropriately.
ERRORS
As for access(2).
VERSIONS
The eaccess() function was added to glibc in version 2.4.
CONFORMING TO
These functions are nonstandard. Some other systems have an eaccess() function.
NOTES
Warning: Using this function to check a process's permissions on a file before performing some operation based on that information leads to
race conditions: the file permissions may change between the two steps. Generally, it is safer just to attempt the desired operation and
handle any permission error that occurs.
This function always dereferences symbolic links. If you need to check the permissions on a symbolic link, use faccessat(2) with the flags
AT_EACCESS and AT_SYMLINK_NOFOLLOW.
SEE ALSO
access(2), chmod(2), chown(2), faccessat(2), open(2), setgid(2), setuid(2), stat(2), credentials(7), path_resolution(7)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2010-11-01 EUIDACCESS(3)