GNU nano - Bugs: bug #60401, ~/.local/share/nano is uncreatable...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60401: ~/.local/share/nano is uncreatable for other user
Submitter: | Oscar <devosc> | ||
Submitted: | Fri 16 Apr 2021 09:23:18 AM UTC | ||
Severity: | 3 - Normal | Status: | Invalid |
Assigned to: | None | Open/Closed: | Closed |
Sat 24 Apr 2021 09:54:39 AM UTC, comment #4: |
Benno Schulenberg <bens> |
Tue 20 Apr 2021 09:23:37 AM UTC, comment #3: Hello Oscar. Any feedback on this? |
Benno Schulenberg <bens> |
Fri 16 Apr 2021 11:00:52 AM UTC, comment #2: Ehm, scratch that. If I understand correctly, you have two users, let's say one named 'user', and another named 'other', but both use /home/user as their home directory (but user has set HOME to '/home/user' and other has it set to '/home/user/'). In that case, you have to change the permissions on ./local/share because by default it seems that directory is writable only for the user itself.
|
Benno Schulenberg <bens> |
Fri 16 Apr 2021 10:48:18 AM UTC, comment #1: The extra slash (/) in $HOME is unlikely to be the cause of getting a "Permission denied", because multiple consecutive slashes in a path are perfectly valid. Could it be that ~/.local or ~/.local/share belongs to root and is thus unwritable for the actual user? |
Benno Schulenberg <bens> |
Fri 16 Apr 2021 09:23:18 AM UTC, original submission:
I'm running a ubuntu machine with two users, both of them share the home directory, the problem comes because the second user home directory is set to /home/user/ when I try to edit any file with this user an error is printed:
|
Oscar <devosc> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-04-28 | bens | Open/Closed | Open | Closed | |
2021-04-24 | bens | Status | Need Info | Invalid | |
2021-04-16 | bens | Summary | Any file is unwritable when the home directory is set with a final / | ~/.local/share/nano is uncreatable for other user | |
2021-04-16 | bens | Status | None | Need Info | |
2021-04-16 | devosc | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-758e.
Corresponding source code
As I have no further information, I am guessing that this is not a bug in nano but that the problem occurs because two users use the same home directory but one of them does not have full read and write access to all files and directories in that home directory.