"ls -l filename" will do it. The entries at the left indicate user, group,
and world permissions, in three read/write/execute sets. For example,

-rwxrwxrwx  username   groupname   filename

tells you that file "filename" is owned by account "username", assigned to
group "groupname", and has read, write, and execute (x) permisisons for its
owner (the leftmost "rwx" set), its group (the middle set), and the world
(the rightmost set). If a particular permission is not set, a hyphen (-)
will appear in its spot.

"man chmod" for the details, including such additional stuff as the setuid
bit, the setgid bit, and the sticky bit, and the shorthand equivalents.

root can check any file or directory as above. A non-root user can check any
file in a directory that the user has read permission for.

At 06:49 PM 1/17/00 -0600, Arnie Metz wrote:
>I recently got some help about my sound card.
>One suggested I check permissions.
>How do you do that?
>From "root" or "user"?
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to