Opened 14 months ago
Closed 11 months ago
#68150 closed defect (fixed)
GRASS does not start if $HOME is not writable
Reported by: | dlejay (Damien Lejay) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | nilason (Nicklas Larsson) | |
Port: | grass |
Description
If $HOME
has permissions 555
, then typing grass
gives
Traceback (most recent call last): File "/opt/local/bin/grass", line 474, in get_grass_config_dir os.mkdir(directory) PermissionError: [Errno 13] Permission denied: '/Users/damien/.grass8' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/local/bin/grass", line 2770, in <module> main() File "/opt/local/bin/grass", line 2453, in main grass_config_dir = get_grass_config_dir() ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/bin/grass", line 479, in get_grass_config_dir _("Failed to create configuration directory '%s' with error: %s") ^ NameError: name '_' is not defined
Is this related to Macports or should I write an issue with GRASS directly?
Change History (4)
comment:1 Changed 14 months ago by nilason (Nicklas Larsson)
Cc: | nilason added |
---|
comment:2 follow-up: 3 Changed 14 months ago by nilason (Nicklas Larsson)
comment:3 Changed 13 months ago by nilason (Nicklas Larsson)
Replying to nilason:
GRASS depends on a read-writable directory
.grass8
, which on non-Windows platforms is located in $HOME. This is how GRASS (presently) work, you may file a ticket at https://github.com/OSGeo/grass/issues or create the directory manually with the necessary permissions (for me, by default, it is 755).
This issue has been reported upstreams, the ticket may be closed.
comment:4 Changed 11 months ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
GRASS depends on a read-writable directory
.grass8
, which on non-Windows platforms is located in $HOME. This is how GRASS (presently) work, you may file a ticket at https://github.com/OSGeo/grass/issues or create the directory manually with the necessary permissions (for me, by default, it is 755).