You are not logged in.

#1 2013-01-16 22:02:15

JoshJeff
Member
Registered: 2013-01-10
Posts: 17

Sudo to be used for libreoffice and do not have file permissions

So in this thread i have two problems which need solving and i'm sure they are siimple enough. I have looked through the arch wiki aswell as googling but i cannot find any specific answer. The first problem which is really annoying is the face that i have to manually launch libreoffice using sudo, this means i am unable to load up any documents straight from my folder. Also my user has no permission to write or delete to my "/home/josh" folder, looked at chmod and chown, but last time i did this, it fucked everything up. Any advice is apreciated. Sorry for being such a newb, but i'm learning.

Last edited by JoshJeff (2013-01-16 22:03:51)

Offline

#2 2013-01-16 22:30:27

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Sudo to be used for libreoffice and do not have file permissions

For your $HOME permissions, see if this helps:

https://bbs.archlinux.org/viewtopic.php?id=122387

Offline

#3 2013-01-16 22:39:12

JoshJeff
Member
Registered: 2013-01-10
Posts: 17

Re: Sudo to be used for libreoffice and do not have file permissions

Solved. To anyone who might stumble accross this thread, sudo chown -R josh /home/josh/ solved it. The error code for this was


 [Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed! 
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

Offline

#4 2013-01-16 23:50:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Sudo to be used for libreoffice and do not have file permissions

Don't use 'sudo' to launch graphical apps, it may mess up your home dir permissions. use gksu, kdesu, sux, or equivalent.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB