03-21-2007
the mask is ---. Can you tell me how to change the mask for the file?
8 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
I have a directory with 700 permissions. I intend to give rwx privileges to a user which does not belong to the group.
I am using the following command
setfacl -m u:prod:rwx test
when I checked the privileges using
getfacl -a test
the output was as follows:
# file: test
#... (1 Reply)
Discussion started by: chakri400
1 Replies
2. Solaris
Hi all,
If, for e.g. I have folder with permissions like this:
drwxr-xr-x 2 fuad_ftp nms 96 Jan 8 13:55 test
I want to give for user user123 acces rwx using setfacl:
setfacl -m user:user123:rwx test
But effective rights still is r-x because of mask...
... (1 Reply)
Discussion started by: nypreH
1 Replies
3. Solaris
when i am executing
setfacl -Rm u:ggoyal2:rwx,m:rwx dir
i am getting error
bash-3.00# setfacl -Rm u:ggoyal2:rwx,m:rwx dir
setfacl: illegal option -- R
usage:
setfacl -f aclfile file ...
setfacl -d acl_entries file ...
setfacl -m acl_entries file ...
setfacl -s acl_entries file... (2 Replies)
Discussion started by: manoj_dahiya22
2 Replies
4. Solaris
Hi Experts,
I have set access control to a directory which is under / as /proj1 and set the access to user1 as below
Once I logging as user1 I am able to create and modify the file which is created by user1 however I am unable to edit / modify the file which is own by root.... (14 Replies)
Discussion started by: kumarmani
14 Replies
5. Solaris
Hi All,
I am trying to set an ACL for a directory on my Solaris 10 box. I have an application which resides under /opt/CA directory. Application is installed by root and running as root. All log and configuration files are placed under /opt/CA as well.
What I am trying to do is granting... (1 Reply)
Discussion started by: niyazi
1 Replies
6. UNIX for Advanced & Expert Users
hello,
I am using XFS filesystem & ACL (setfacl/getfacl). I can set ACL entries only for 21 users per one directory. For the 22nd user it shows invalid argument.
Has somebody the same problem? I need to override this limit.
thnks in advance
david (3 Replies)
Discussion started by: sigd
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
On the setfacl, I am trying to make one user with no rwx privilleges. After reading the man page I still can't get it. Please let me know the correct command.
set user - SAM to have NO rwx privilleges on NEW objects
setfacl -dm user:sam:--- /opt
set user - SAM to have NO... (2 Replies)
Discussion started by: samnyc
2 Replies
8. Shell Programming and Scripting
HI,
How to use setfacl for a domain user?
I have an AD domain name manjunath and a domain user of the same domain named boarduser1. My cluster is joined to the domain.
I am trying to set ACL for the boarduser1 on a file.
I have tried this:
setfacl -m u:Manjunath\boarduser1:rwx <file>... (1 Reply)
Discussion started by: prinsh
1 Replies
LEARN ABOUT MOJAVE
sigprocmask
SIGPROCMASK(2) BSD System Calls Manual SIGPROCMASK(2)
NAME
sigprocmask -- manipulate current signal mask
SYNOPSIS
#include <signal.h>
int
sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict oset);
DESCRIPTION
The sigprocmask() function examines and/or changes the current signal mask (those signals that are blocked from delivery). Signals are
blocked if they are members of the current signal mask set.
If set is not null, the action of sigprocmask() depends on the value of the parameter how. The signal mask is changed as a function of the
specified set and the current mask. The function is specified by how using one of the following values from <signal.h>:
SIG_BLOCK The new mask is the union of the current mask and the specified set.
SIG_UNBLOCK The new mask is the intersection of the current mask and the complement of the specified set.
SIG_SETMASK The current mask is replaced by the specified set.
If oset is not null, it is set to the previous value of the signal mask. When set is null, the value of how is insignificant and the mask
remains unset providing a way to examine the signal mask without modification.
The system quietly disallows SIGKILL or SIGSTOP to be blocked.
RETURN VALUES
A 0 value indicated that the call succeeded. A -1 return value indicates an error occurred and errno is set to indicated the reason.
ERRORS
The sigprocmask() call will fail and the signal mask will be unchanged if one of the following occurs:
[EINVAL] how has a value other than those listed here.
SEE ALSO
kill(2), sigaction(2), sigsuspend(2), sigsetops(3)
STANDARDS
The sigprocmask() function call is expected to conform to IEEE Std 1003.1-1988 (``POSIX.1'').
BSD
June 4, 1993 BSD