05-08-2012
S - setgid bit is set and executable bit is not set
s - setgid bit is set and executable bit is set
This User Gave Thanks to fpmurphy For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
While logged on as root, I created a user 'usera'
I also created a group called 'groupa'
I need to modify the permission of the user i created to not have root privileges.
I also need to change groupa to be in 'others'
please help!
thanks,
nieves (3 Replies)
Discussion started by: mncapara
3 Replies
2. AIX
Please forgive me, but I am not a Unix expert. I'm supporting SAP r/3 and we are trying to run an external command from SAP to read a file at the unix level. When we perform the more command on the following two files, we are succesful in reading the bws file, but unsucessful in reading the bws1... (13 Replies)
Discussion started by: bbauerle
13 Replies
3. UNIX for Dummies Questions & Answers
I have an executable that had permissions set to 700. I changed this to 770 and added a user to the group in an attempt to allow that userds to run the file. Obviously this didnt work or I wouldnt be here.
Do I need to cause the group file to be re-read and if so how, or am I misunderstanding... (6 Replies)
Discussion started by: thumper
6 Replies
4. Shell Programming and Scripting
hello
I search a script (ksh for Aix 5.3) to save all permissions, groups and owner for all files. Because we work much to change it, and a mystake ......!
So i want execute this script to save/ execute permissions for all files.
If you have this script, thank you for your help ;)
best... (2 Replies)
Discussion started by: pascalbout
2 Replies
5. UNIX for Dummies Questions & Answers
In our file system, the SGID for a directory is set right now. Any new files created in this directory will automatically be assigned the same group from the parent directory.
Is there a way to inherit the file permission from the parent directory as well? The OS is Solaris 2.8.
Example:... (1 Reply)
Discussion started by: april
1 Replies
6. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
7. UNIX for Dummies Questions & Answers
How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days.
This is what i got from internet souce but i m not able to modify it according to my distribution.
find /etc -perm... (1 Reply)
Discussion started by: pinga123
1 Replies
8. Solaris
All:
I'm having a problem with sudo on Solaris 5.10 that is giving me fits (and BTW, I'm a Linux admin by trade...).
The issue is that I have a number of users (myself included) that cannot sudo to root to complete user admin tasks. Assuming the user is jdoe, and the group with the elevated... (3 Replies)
Discussion started by: rjlohman
3 Replies
9. AIX
Has anyone ever encountered this? It's one of those it was working Monday but not today issues.
We have an account pcadmin in the group utl, its supposed to read the files in utl. No issues on Monday, but today pcadmin can't read anything owned by utl. Below you can see it still has the group... (8 Replies)
Discussion started by: J-Man
8 Replies
LEARN ABOUT DEBIAN
gfs_chmod
GFS_CHMOD(3) GFS_CHMOD(3)
NAME
gfs_chmod - change permissions of a file
SYNOPSIS
#include <gfarm/gfarm.h>
char *gfs_chmod (char * gfarm_url, mode_t mode);
DESCRIPTION
gfs_chmod() changes the mode of the file given by gfarm_url. Permission bit masks of mode are similar to ones of mode parameter to
chmod(2), though only the least 9 bit are effective.
An executable file cannot be changed to a non-executable file and vice versa, unless the number of fragment of the file is only one. In
detail, a file has multiple fragments with any execution bit should not be changed to that with no execution bit. It is necessary to have
at least one execution bit. Similarly, a file has multiple fragments with no execution bit should not be changed to that with any execu-
tion bit.
RETURN VALUES
NULL The function terminated successfully.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
GFARM_ERR_AUTHENTICATION
User authentication failed when connecting to gfmd(8) or gfsd(8).
GFARM_ERR_PERMISSION_DENIED
The parent directory of gfarm_url did not allow write permission.
GFARM_ERR_OPERATION_NOT_PERMITTED
The effective UID does not match the owner of the file, and is not zero. Or an attempt was made to change an executable file with
more than one fragment to a non-executable file, or vice versa.
GFARM_ERR_NO_SUCH_OBJECT
The file does not exist.
GFARM_ERR_NOT_A_DIRECTORY
A component of the path prefix is not a directory.
Others An error except the above occurred. The reason is shown by its pointed strings.
Gfarm 13 November 2006 GFS_CHMOD(3)