[Klug-general] bash autocompletion to get file listing without permission
David Halliday
david.halliday at gmail.com
Fri Mar 9 08:19:24 UTC 2012
Can you do a
ls -l
on the directory(s) in question and post that? The permissions on and in
the directory(s).
Permissions can have some interesting knock ons.
I believe It is possible to have permission to read from a directory you
don't have permission to browse.
On Mar 8, 2012 9:09 PM, "James Morris" <jwm.art.net at gmail.com> wrote:
> Hi,
>
> On a server where
>
> ls: cannot open directory /home: Permission denied
>
> I can instead get a listing by using autocompletion. For instance, to
> get a listing of contents beginning with a in the /home directory:
>
> ~a
>
> followed by tab-tab.
>
> Thoughts?
>
> James.
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20120309/05c99a4c/attachment.htm>
More information about the Kent
mailing list