File permissions?
Johnny Rosenberg
gurus.knugum at gmail.com
Sun Dec 27 16:24:45 UTC 2009
2009/12/26 nepal (PO) <nepal.roade at mypostoffice.co.uk>:
> On Friday 25 Dec 2009 18:28:20 Johnny Rosenberg wrote:
>> Is there a special reason why the files have to be located there?
>> For most tasks, your personal files should be located somewhere in
>> your home directory (home folder), called $HOME, which is an
>> environment variable containing the address of your home folder.
>> The ”~” means the same thing. So ~/MyFolder is the same thing as
>> $HOME/MyFolder, which is the same thing as /home/Jim/MyFolder if
>> your user name is Jim. If you still want to place your file at
>> /usr/share/jedit/modes you have to do it with root permissions,
>> unless you want to change the owner of the folder.
>>
>
> This is incorrect.
>
> In a console type in "echo $HOME" not including the quotes and it will
> show the *full* path to your home folder which is /home/_username_.
>
> $HOME is an environment variable set up for each user of the system.
>
And that's not what I said?
$HOME/ is in my case /home/guraknugen/
~/ is in my case /home/guraknugen/
What's the difference?
Of course I don't mean it is exactly the same thing, because it never
can be: $HOME is 5 characters, ~ is one, so already that is a
difference…
Johnny Rosenberg
> nepal.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list