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,058

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: 5,557

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: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

Board footer

Powered by FluxBB