LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   displaying file permissions (https://www.linuxquestions.org/questions/linux-newbie-8/displaying-file-permissions-105743/)

Imyrryr 10-18-2003 10:34 PM

displaying file permissions
 
:scratch: This may seem like a really dull question but I can't seem to find it in my books or in the man:study: pages (although very possible I'm overlooking it) but, if I set a files chattr +i attribute, is there a way to see all the file permissions for that files using 'ls' :confused: I can't seem to find a way to show the 'extended' attributes.

Any assistance would be greatly appreciated

speter 10-18-2003 10:55 PM

ls -l (long form)

Steve

rakriege 10-18-2003 11:00 PM

ll works too and is 3 less strokes

ToniT 10-18-2003 11:02 PM

You can use the lsattr to show the attributes, ls doesn't show them.

Imyrryr 10-18-2003 11:02 PM

Quote:

Originally posted by rakriege
ll works too and is 3 less strokes
ll only works if you have the ll as an alias to do ls -l

just an fyi.. not meaning to step on toes

Imyrryr 10-18-2003 11:05 PM

Quote:

Originally posted by ToniT
You can use the lsattr to show the attributes, ls doesn't show them.
you da' man!:D Thank you! was looking for the wrong command the whole time. :rolleyes: btw is there a way to incorporate 'ls' and 'lsattr' in the same directory listing?

rakriege 10-18-2003 11:06 PM

np, most alias are set to as defualt on newer distros


All times are GMT -5. The time now is 12:54 AM.