Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756155AbaGSUWF (ORCPT ); Sat, 19 Jul 2014 16:22:05 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:38667 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbaGSUWD (ORCPT ); Sat, 19 Jul 2014 16:22:03 -0400 X-Auth-Info: YmZe5Cn9VEAx+dMAqzuQxSmHoTUELAaKMOTLIWm0YBE= From: Andreas Schwab To: Joakim Tjernlund Cc: linux-kernel@vger.kernel.org Subject: Re: ls -l /proc/1/exe -> Permission denied References: X-Yow: Two LITTLE black dots and one BIG black dot...nice 'n' FLUFFY!! Date: Sat, 19 Jul 2014 22:21:59 +0200 In-Reply-To: (Joakim Tjernlund's message of "Thu, 17 Jul 2014 13:18:38 +0200") Message-ID: <87lhrpayl4.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joakim Tjernlund writes: > Trying to real /proc//exe I noticed I could not read links not > belonging to my user such as: > jocke > ls -l /proc/1/exe > ls: cannot read symbolic link /proc/1/exe: Permission denied > > Is this expected? Yes. This information is considered private. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/