03-20-2018
If you have uid's/gid's showing as numeric in list (e.g. ls) commands then it's (probably) because those uid/gid have been removed (deleted) from either /etc/passwd (or /etc/shadow) and /etc/group respectively.
If you can reinstate the entries in those files then the system will translate them into human readable uid/gid and they will no longer appear numeric. They are only appearing numeric now because those numbers do not appear in the files and so cannot be made human readable. Perhaps the original owner's user account was deleted? Change the ownership of those files to a currently valid account.
Last edited by hicksd8; 03-20-2018 at 02:56 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am bit unclear of how Linux was set in the real world, please advise me how it's supposed to be.
When I log in as root and do a ls -l, I find: /boot, /, /var, /usr, /tmp, /home, /u01, /u02, /u03 and of of this partition is owned by root and the group also belong to root. Is that the way it's... (1 Reply)
Discussion started by: lapnguyen
1 Replies
2. 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
3. UNIX for Dummies Questions & Answers
Hi,
I need a command or a script to change the group permissions to be the same as the owner permissions for all my files and directories (recursive)
any idea ? (4 Replies)
Discussion started by: ynixon
4 Replies
4. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
5. UNIX for Dummies Questions & Answers
Hello, i would like to find huge files and group them by owners.
To find big files i use this command:
ls -lR | sort -bnr +4 | head -n 75
which give me 75 biggest files, then i need to see in which subdirectory is every file.
second thing i dont know is how to group those files by owner, could... (6 Replies)
Discussion started by: dealer1985
6 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
How can i find the group owner name...???
Thanks (4 Replies)
Discussion started by: mansahr143
4 Replies
7. Emergency UNIX and Linux Support
If I have to identify the group owner of an AIX group, what is the command to be used. Example: there is an mqadm group, how do I find the owner of this group?
Please help. (6 Replies)
Discussion started by: ggayathri
6 Replies
8. AIX
Dears
it is normal that the below binaries stay without any owner and group
I have checked it in many servers and the like the below
/usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt
total 248
-r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group
-r-xr-xr-x ... (5 Replies)
Discussion started by: thecobra151
5 Replies
9. UNIX for Beginners Questions & Answers
Hi Team,
Am a newbie to Unix. As I would like to see the Server Name,Owner Name ( not numeric form), Group Name ( not numeric ID), ROOT path.
I would like to send this list as an attachment to my personal mail. Can any one please help me out to to resolve this .
Here is the sample result... (6 Replies)
Discussion started by: vasuvv
6 Replies
10. Shell Programming and Scripting
I am searchingfor files owned by particular owner and group in a particular directory including its sub-directories. I use
find <dir> -user <user> -group <group> -exec ls -l {} \;
It does not work completely. In the sense is a subdirectory is owned by 'user' and group 'group' then all... (9 Replies)
Discussion started by: Soham
9 Replies
LEARN ABOUT MOJAVE
mount_apfs
MOUNT_APFS(8) BSD System Manager's Manual MOUNT_APFS(8)
NAME
mount_apfs -- mount an APFS volume
SYNOPSIS
mount_apfs [-o options] [-u user] [-g group] special directory
mount_apfs [-o options] -s snapshot pathname directory
DESCRIPTION
The mount_apfs command attaches the APFS volume indicated by the device special to the global file system namespace at the location indicated
by directory. This command is normally executed by diskarbitrationd(8) or mount(8) at boot time.
The special parameter should be the path to an APFS pseudo disk device node, such as /dev/disk0s2s1 (which is a volume inside the container
/dev/disk0s2), which can also be specified as simply disk0s2s1.
The options are as follows:
-o options Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8)
man page for possible options and their meanings.
-u user Set the owner of the files in the file system to user. The default owner is the owner of the directory on which the file
system is being mounted. The user may be a user-name, or a numeric value.
-g group Set the group of the files in the file system to group. The default group is the group of the directory on which the file
system is being mounted. The group may be a group-name, or a numeric value.
-s snapshot The name of the snapshot to mount. In this usage pathname is the mounted root directory of the base volume containing the
snapshot.
DIAGNOSTICS
The mount_apfs utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
mount(2), unmount(2), fstab(5), mount(8)
HISTORY
The mount_apfs utility first appeared in OS X 10.12.
Mac OS X September 16, 2015 Mac OS X