[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File and directory permissions



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 07, 2018 at 12:19:06PM +0100, epsilon491@tutanota.com wrote:
> Addition to previous email:
> Example:
> In terminal B I can still modify a files as follows:
> touch aaa
> echo "123" > aaa
> But when I do,
> vi aaa
> even in the same terminal, vi can't access the file aaa.

That's because vi probably converts the path to absolute before
trying to open it. It wouldn't need to, see the openat() system
call for how.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlqfzl0ACgkQBcgs9XrR2kbInQCeKypOpyRgw6WvzqAUShF/sTX7
3sEAnAwqb3Yo4lyQsQ29Yo2108Hvzv2F
=tvgn
-----END PGP SIGNATURE-----


Reply to: