Is there an option in ls that will show the permission bit in numbers instead of the permissions?
The ls output below are very useful I guess, but I want to know if it is possible to run ls where it just shows 600 I guess which is the numeric equivalent of the permission bit of the file. Basically, am looking for something similar to the Linux's stat -c "%a %n" testfile. Unfortunately, stat is not available in Solaris.
BTW, the output from ls -v, why does the group has #effective label, what does that mean? Can't understand what the output from ls -v means, I've already check on the man pages and still don't understand it, anyone who can give a better explanation about what the output from ls -v means, mainly on the line 2:mask:rwx, the other lines, I can "guess" what they means ...
Thanks in advance.
Last edited by newbie_01; 07-19-2010 at 02:43 AM..
Reason: More information
The user and group permissions are those for the owner (user) and the default group (prof), respectively. The mask indicates the maximum permission available to all users, except the owner. The effective permission, to the right of the group permission, represents the intersection (bitwise AND) of the specified permissions for a user/group and the mask field. The effective permission is what a user, other than the owner, will see when they try to access the file
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Hi,
Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result.
perl interpreter info,
perl, v5.8.8 built for... (0 Replies)
Hi.
I am running this line in AIX unix and I am getting the error Permission is denied.
Could you help me on this please.
rcp -p rgranado@sniux01:/homeusr/ven/edi/procesados/asn/* gisadm@sniux03:/gentran/SI51/install/HD_XML/OUT
Please use next time
code tags for your code and data (2 Replies)
Hi,
Does anyone know of any permission bit "translator"? One that can translate the permission bit from its textual value to its octal value and vice versa. It is alright if it is always just rwx but on a lot of occasions nowadays, getting a lots of s, S, t, etc.
-rwxrwxrwx 1 oracle dba... (4 Replies)
Can someone tell me how to change the first column in a very large 17k line file from a random 10 digit numeric value to a non numeric value. The format of lines in the file is:
1702938475,SNU022,201004
the first 10 numbers always begin with 170 (6 Replies)
Hi,
Does anyone have a UNIX permission bit calculator script that I can use?
Basically, am looking for one where I don't have to a ls -l to check the permission on a file or directory. Am looking for a script that will display the permission bits and then just display what those permission... (1 Reply)