New Fedora 21 Userid Cannot Start LibreOffice 4.3

I created a new user on my Fedora 21 system so I could demo Fedora and apps to coworkers without leaving my personal account exposed. After logging into the account I launched Firefox and verified connectivity without any problems. Then I launched Libre office and got the following nastygram
Code:
 The application cannot be started. 
LibreOffice user installation could not be processed due to missing access rights. Please make sure that you have sufficient access rights for the following location and restart LibreOffice:

/home/fedorademo/.config/libreoffice/4 

This looks like a variation of the folders being owned by root but that isn't the case with this account as everything is owned by the new account.
Code:
 [fedorademo@tesseract ~]$ pwd
/home/fedorademo
[fedorademo@tesseract ~]$ cd .config
[fedorademo@tesseract .config]$ ll
total 80
<snip>
drwxrwxr-x. 3 fedorademo fedorademo 4096 Feb  9 20:12 libreoffice
<snip>
[fedorademo@tesseract .config]$ cd libreoffice
[fedorademo@tesseract libreoffice]$ ll
total 4
drwx------. 3 fedorademo fedorademo 4096 Feb  9 20:12 4
[fedorademo@tesseract libreoffice]$ cd 4
[fedorademo@tesseract 4]$ ll
total 4
drwxrwxr-x. 9 fedorademo fedorademo 4096 Feb  9 20:42 user
[fedorademo@tesseract 4]$ cd user
[fedorademo@tesseract user]$ ll
total 32
drwxrwxr-x. 2 fedorademo fedorademo 4096 Feb  9 20:42 autotext
drwxrwxr-x. 3 fedorademo fedorademo 4096 Feb  9 20:42 basic
drwxrwxr-x. 2 fedorademo fedorademo 4096 Feb  9 20:42 config
drwxrwxr-x. 3 fedorademo fedorademo 4096 Feb  9 20:42 database
drwxrwxr-x. 2 fedorademo fedorademo 4096 Feb  9 20:12 extensions
drwxrwxr-x. 2 fedorademo fedorademo 4096 Feb  9 20:42 gallery
-rw-------. 1 fedorademo fedorademo  329 Feb  9 20:42 registrymodifications.xcu
drwxrwxr-x. 2 fedorademo fedorademo 4096 Feb  9 20:12 uno_packages
[fedorademo@tesseract user]$ cd  config
[fedorademo@tesseract config]$ ll
total 404
-rw-r--r--. 1 fedorademo fedorademo   4308 Jan 16 18:28 arrowhd.soe
-rw-r--r--. 1 fedorademo fedorademo  48408 Jan 16 18:27 autotbl.fmt
-rw-r--r--. 1 fedorademo fedorademo  30852 Jan 16 18:28 classic.sog
-rw-r--r--. 1 fedorademo fedorademo  13132 Jan 16 18:28 cmyk.soc
-rw-r--r--. 1 fedorademo fedorademo   4408 Jan 16 18:28 gallery.soc
-rw-r--r--. 1 fedorademo fedorademo   5238 Jan 16 18:28 hatching.soh
-rw-r--r--. 1 fedorademo fedorademo  10766 Jan 16 18:28 html.soc
-rw-rw-r--. 1 fedorademo fedorademo   2329 Feb  9 20:12 javasettings_Linux_X86_64.xml
-rw-r--r--. 1 fedorademo fedorademo   2334 Jan 16 18:28 libreoffice.soc
-rw-r--r--. 1 fedorademo fedorademo   6840 Jan 16 18:28 modern.sog
-rw-r--r--. 1 fedorademo fedorademo   5271 Jan 16 18:28 palette.soc
-rw-r--r--. 1 fedorademo fedorademo  31320 Jan 16 18:28 scribus.soc
-rw-r--r--. 1 fedorademo fedorademo 155895 Jan 16 18:28 standard.sob
-rw-r--r--. 1 fedorademo fedorademo  11461 Jan 16 18:28 standard.soc
-rw-r--r--. 1 fedorademo fedorademo   2426 Jan 16 18:28 standard.sod
-rw-r--r--. 1 fedorademo fedorademo   4984 Jan 16 18:28 standard.soe
-rw-r--r--. 1 fedorademo fedorademo   5080 Jan 16 18:28 standard.sog
-rw-r--r--. 1 fedorademo fedorademo   2171 Jan 16 18:28 standard.soh
-rw-r--r--. 1 fedorademo fedorademo   1708 Jan 16 18:28 styles.sod
-rw-r--r--. 1 fedorademo fedorademo   2331 Jan 16 18:28 tango.soc
-rw-r--r--. 1 fedorademo fedorademo  14420 Jan 16 18:28 web.soc
[fedorademo@tesseract config]$ 

And so on
I've tried it with an admin account and a standard account in Fedora 21 and both fail.
I tried it with a standard account in Fedora 20 and it worked.
Fedora 20 is running a slightly older version of Libreoffice 4.2.8.2-2.fc20
Fedora 21 is running 4.3.5.2-11.fc21. Any thoughts on how to troubleshoot this would be appreciated. Right now I can't tell if it is a LibreOffice problem or a Fedora problem. Thanks for reading


Similar Content



Setfacl Help

I can't believe I wrote a looong message and it logged me out when I tried to submit it.

So anyway, in short lines:

- I have a network of sites where all sites share same "images" folder
- I have created /home/_images/entities and symlinked it from all websites
- It works great with Apache, when I open /images/ on any of the sites I get list of images and can view them

The problem is suPHP which changes process ID of the PHP script to the file owner ID, so when I load site1.com, all scripts are executed as user1 (and files/folders created with those scripts belong to user1:user1). When I load site2.com, all scripts are executed as user2 (and files/folders created with those scripts belong to user2:user2). All these users do NOT belong to the same group, and I wouldn't like to change that as it is cPanel/WHM server so I'm afraid I'll screw something up if I change (primary?) group of all users.

Therefore I need to set it up in such way that all newly created folders and files under /home/_images/entities (owned by root) have read/write permissions for everyone.

Here's the command I used:

Code:
setfacl -Rdm o::rwx /home/_images/entities

To check it:
Code:
root@server1 [~]# getfacl /home/_images/entities/
getfacl: Removing leading '/' from absolute path names
# file: home/_images/entities/
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
default:user::rwx
default:group::rwx
default:other::rwx

This looks fine, however when I try upload an image via site1.com it looks like this:

Code:
root@server1 [/home/_images/entities]# ls -l
total 24
drwxrwxrwx+ 5 root    root    4096 Jan 14 06:25 ./
drwxrwxrwx  5 root    root    4096 Jan 12 13:08 ../
drwxrwxr-x+ 3 user1   user1   4096 Jan 14 06:25 1/

And in folder "1" is the image (and thumbs folder):

Code:
root@server1 [/home/_images/entities/1]# ls -l
total 236
drwxrwxr-x+ 3 user1   user1     4096 Jan 14 06:25 ./
drwxrwxrwx+ 5 root    root      4096 Jan 14 06:25 ../
-rw-rw-rw-  1 user1   user1   225569 Jan 14 06:25 689048f221ab7c556f4d482a9d92b2d6.jpg
drwxrwxr-x+ 2 user1   user1   4096 Jan 14 06:25 thumbs/

My questions:

1) Why newly created folders do not have "write" permissions for everyone else [not user and/or group]? If I upload first image from site1.com, then I can't upload other images from any other site, while all sites can display them.

2) What is the + at the end of permissions list? (drwxrwxr-x+)

3) Why newly created files have only "rw" permissions for user, group AND everyone else, and not execute permissions? I don't actually need execute flag set here, but from my command you can see I've set "o::rwx" so it should be there (or not?)

Actually the real problem is #1 - other users can't write to this folder so users can't upload images from other sites nor other sites can create (missing) thumbnails.

Headless Libreoffice Doesn't Create File

I am trying to convert a PDF document from an Excel and PowerPoint document. I installed it and ran the command. It gives no warning.. Just doesn't create a new PDF document. I've successfully done this before, but I think it was a different server. I've checked file permissions, but don't think it is the issue (I've tried as a normal user and as root).

I could convert doc, docx, and txt files, but not xls, xlsx, ppt, and pptx files.

Thoughts why? Is there a verbose option or a log file which I could check for clues?

Thank you


Code:
yum -y install libreoffice-headless libreoffice-writer

Code:
Package 1:libreoffice-headless-4.0.4.2-14.el6.x86_64 already installed and latest version
Package 1:libreoffice-writer-4.0.4.2-14.el6.x86_64 already installed and latest version

Code:
libreoffice --headless -convert-to pdf myfile.xlsx

Do I Have Two Versions Of LibreOffice Installed?

Hi everyone!

Having read about the latest LibreOffice version, I felt tempted to try it out. I uninstalled the default version on my Ubuntu machine and downloaded the .deb from the LibreOffice site and installed it. The new office has since worked without any trouble.

A few days later I decided to dump Unity and go back to Gnome. So I installed Ubuntu-Gnome-Desktop.

It was then that I noticed two versions of LibreOffice on the application dash (I think, because there are two sets of icons for each office application- see the attached screenshot).

Did Gnome install its own version of LibreOffice with it? Does it really have one? I don't know.

Whichever icon I use to launch the app, the office however always brings up the latest version. So, there's no problem in terms of application errors. As I thought there's no need to have an extra version of an app and eat up my space, I tried to uninstall through Aptitude, but it doesn't 'remove' LibreOffice.

Any advice, please! Thanks in advance.

Munin Arch Installation: Directory Ownership Differs On /var/lib/munin/

Trying to learn Linux; today installing Munin. I am getting the following warning:

Code:
warning: directory ownership differs on /var/lib/munin/
filesystem: 618:618  package: 0:0
warning: directory ownership differs on /var/lib/munin/spool/
filesystem: 618:618  package: 0:0
warning: directory ownership differs on /var/log/munin/
filesystem: 618:618  package: 0:0

aag ~ $ ls /var/lib/munin/ -l
total 12
drwxr-xr-x 2 root  root  4096 Oct 29 01:31 cgi-tmp
drwxrwxr-x 2 munin munin 4096 Oct 29 01:31 plugin-state
drwxr-xr-x 2 munin munin 4096 Oct 29 01:31 spool

What is this warning about? And is this something that I should worry about? Thanks in advance for enlightening me!

Problem With NFS Sharing Between Two Raspberry Pis

I have two raspberrys, one running OSMC and another running raspbian. The first one has two 1TB hard drives plugged in through a powered usb hub. I want to access to the osmc hard drives from the one running raspbian. They are both in the same local network, the osmc one has the ip 192.168.1.24 and the raspbian one has 192.168.1.28. Both are static ips.

These are the hard drives::
Code:
osmc@osmc:~$ ls /media/ -la
total 36
drwxr-xr-x  4 root root  4096 Mar 31 18:28 .
drwxr-xr-x 23 root root  4096 Mar 15 13:35 ..
drwx------  1 osmc osmc  8192 Mar 30 21:54 ELEMENTS
-rw-r--r--  1 root root   232 Mar  6 13:34 README
drwx------  1 osmc osmc 16384 Mar 30 15:22 TOURO

ELEMENTS and TOURO, two ntfs hard drives that work just fine.

I tried sharing the first one through nfs with the following config (i copied the parameters from a tutorial):
Code:
osmc@osmc:~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
/media/ELEMENTS/Pelis/ 192.168.1.0/24(rw,subtree_check,insecure,no_root_squash)
/media/TOURO/Series/ 192.168.1.0/24(rw,subtree_check,insecure,no_root_squash)

and from the pi running raspbian I have confirmed that I can see the drives being shared:
Code:
 /media $ showmount -e 192.168.1.24
Export list for 192.168.1.24:
/media/TOURO/Series/   192.168.1.0/24
/media/ELEMENTS/Pelis/ 192.168.1.0/24

Now, when I try to mount them, all works fine, but when I ls the folders nothing cames back. This is my fstab:
Code:
1cat /etc/fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
/dev/mmcblk0p2  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, so no using swapon|off from here on, use  dphys-swapfile swap[on|off]  for that
UUID=fdff96e6-816c-d001-e05f-96e6816cd001 /media/hdd/ auto defaults,user 0 0 #external hdd

192.168.1.24:/media/ELEMENTS/Pelis /media/pelis nfs rsize=8192,wsize=8192,timeo=14,intr
192.168.1.24:/media/TOURO/Series /media/series nfs rsize=8192,wsize=8192,timeo=14,intr

Code:
apoc@raspbian ~ $ ls /media/pelis/
apoc@raspbian ~ $

The superweird thing is that they are mounted, as they show up if I run "df -h"

Code:
 df -h
S.ficheros                         Tamaņo Usados  Disp Uso% Montado en
rootfs                               7,2G   2,6G  4,4G  37% /
/dev/root                            7,2G   2,6G  4,4G  37% /
devtmpfs                             484M      0  484M   0% /dev
tmpfs                                 98M   380K   98M   1% /run
tmpfs                                5,0M      0  5,0M   0% /run/lock
tmpfs                                195M      0  195M   0% /run/shm
/dev/mmcblk0p1                        56M    15M   42M  26% /boot
/dev/sda1                            219G   4,7G  202G   3% /media/hdd
192.168.1.24:/media/ELEMENTS/Pelis   932G   742G  191G  80% /media/pelis
192.168.1.24:/media/TOURO/Series     932G   813G  120G  88% /media/series

Code:
ls /media/ -la
total 808
drwxr-xr-x  5 root root   4096 abr  2 18:36 .
drwxr-xr-x 22 root root   4096 mar 25 16:14 ..
drwxr-xr-x  5 apoc apoc   4096 abr  2 13:12 hdd
drwx------  1 apoc pi   786432 mar 30 22:03 pelis
drwx------  1 apoc pi    28672 mar 29 16:09 series

Note that the group for the two folders is "pi", but if I umount the drives it becomes "apoc" (my nick and my personal group).
Code:
ls /media/ -la
total 20
drwxr-xr-x  5 root root 4096 abr  2 18:36 .
drwxr-xr-x 22 root root 4096 mar 25 16:14 ..
drwxr-xr-x  5 apoc apoc 4096 abr  2 13:12 hdd
drwxr-xr-x  2 apoc apoc 4096 abr  2 18:36 pelis
drwxr-xr-x  2 apoc apoc 4096 abr  2 18:36 series

Both users ("osmc" in the osmc pi and "apoc" in the raspbian one) have the same uid: 1000.

What am i doing wrong?

Chgrp Not Changing A File?

Hello,

OS: CentOS 6.3

Background:
I'm trying to set up a situation where my FTP account is in a group where my phpbb forums were created. This will allow me to upload changes as I customize my forums (ie: .css files). However, right now, my problem is that I'm running into invalid permissions and the only way to move the files is to upload the file to a directory my FTP account has access too and then sudo cp the file over. Upon closer inspection of my files, it appears the groups the files have been made under are not the correct group.

Problem:
I am trying to use chgrp on a specific file to change the group owner to the group my FTP account is a member of but it does not seem to be working. Here is a snippet of what I'm doing:

Code:
zzz@aaaa:/var/www/html/yyy/forums/styles/GlossyBlack/theme]$ sudo chgrp apache colours.css -v
group of `colours.css' retained as apache
zzz@aaaa:/var/www/html/yyy/forums/styles/GlossyBlack/theme]$ ls
total 164
drwxr-xr-x 3 5645316 apache  4096 Mar 27 15:11 .
drwxr-xr-x 6 5645316 apache  4096 Nov 18  2012 ..
-rw-r--r-- 1  root     apache 23480 Mar 27 19:05 colours.css

I'm not sure why it still says root so I suspect I am doing something incorrect. When looking around, at first it seemed chgrp could change group owner on files but as I dug more, it seemed it can also change groups themselves. So I'm a little confused and require some clarity of experts.

I hope changing the group owner of this file will give access to my FTP account so I can apply this change to all needed locations.

Thanks.

SFTP Configuration For Single Directory Per User

Dear Members,

I am trying to configure sftp on my Server (Redhat). But I am facing following issue.

Link used: https://www.linode.com/docs/tools-re...ian-and-ubuntu

These are the parameters added to /etc/ssh/sshd_config file :

Quote:
Match group filetransfer
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
Permission home Directories are as follows :

Quote:
ls -ld /home/test1/
drwxr-xr-x 7 root root 4096 May 14 09:49 /home/test1/

ls -l /home/test1/
total 12
drwxr-xr-x 2 root root 4096 May 14 09:49 docs
drwxr-xr-x 2 root root 4096 May 13 11:43 nitish
drwxr-xr-x 2 root root 4096 May 14 09:49 public_html

Debug Command : sftp -vvv test1@Ipaddress

Code:
debug1: Next authentication method: password
test1@IP-address's password:
debug3: packet_send2: adding 64 (len 53 padlen 11 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug3: Wrote 144 bytes for a total of 1421
debug1: Authentication succeeded (password).
debug2: fd 4 setting O_NONBLOCK
debug3: fd 5 is O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug3: Wrote 128 bytes for a total of 1549
debug3: Wrote -1 bytes for a total of 1549
Write failed: Broken pipe
Couldn't read packet: Connection reset by peer

I need the user can't access/see the other directories other than it's own directory

Waiting for your response.

Thank you

Redhat-Keeda

Libreoffice Cannot Find Network Printer, Offers Only (non-existent) Generic Printer

Arch linux, lxdm/lxde, recent installation, feeling I must be doing something stupid, would be glad to be guided!

I have a Brother HL-2030 printer connected to a Raspberry Pi as a print server, CUPS setup, with sharing turned on. Other machines in the household, and indeed other OS's on the machine I'm writing on, print trouble-free to this printer.

On *this* desktop machine, (with libcups installed,) other programs print trouble-free. Firefox, Thunderbird, geany and evince all detect the presence of the network printer, and work as expected.

It's just Libreoffice that does not. This is true both of libreoffice-fresh and libreoffice-still, and it is true for all the components (write, draw, calc etc).

Libreoffice *does* find the network printer from other OS's that I play with; I have Puppy and Mint on the same machine, but those installs of Libreoffice are obviously different/earlier versions (nor do I feel like upgrading them in the circumstances!)

In this context, though, the Libreoffice "File>Printer settings..." menu offers me only a "Generic Printer" (whose properties and options I can edit). If I ask Libreoffice to print to this generic printer, it reports no failure, but that task just seems to disappear into thin air.

On the Pi server, /var/log/cups/ offers

Code:
# extract from /var/log/cups/access_log
# [...snip]
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST / HTTP/1.1" 200 566 CUPS-Get-Printers server-error-version-not-supported
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST /printers/Brother_HL-2030_series HTTP/1.1" 200 15824 Print-Job successful-ok
# the above line logs a successful print from geany
192.168.2.2 - - [22/Jan/2015:18:26:40 +0000] "POST / HTTP/1.1" 200 673 CUPS-Get-Default server-error-version-not-supported


# extract of /var/log/cups/error_log
# [...snip]
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:21 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:26:40 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Default (no URI) from 192.168.2.2

I really think I must be doing something very stupid and newbie-ish!

Fedora 13 In VirtualBox Help With Yum Install System-config-kickstart

hey guys, I need help with yum install system-config-kickstart.
Ive try running this in terminal with root and user. nothing seems to work.
I got a message:
Loaded plugins: presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
Please verify its path and try again.

Guys I'm new to Linux. What should I do?

Installing New Software

I am about to attempt my first software installation - upgrading my LibreOffice package to the latest version. Since all my software came preloaded with my computer I have not been involved in this exercise previously.

I realize how irritating newbies can be, by asking questions that have already been answered in other threads, so I have read the post offering basic software installation instructions, together with anything else that seemed relevant. Then I got the installation instructions from the LibreOffice website. When I compared these with the LQ version it was difficult to find much in common, so what do I do? I am inclined to follow the LibreOffice instructions. Apart from anything else, they are simpler. However, I notice reference to a 'desktop-integration' folder in the latter. I do not appear to have such a folder in my present system. Can I assume that it will be created as part of the installation of the updated package?

I am happy to experiment but one thing that terrifies me is the instruction to purge my existing version of LibreOffice before installing the latest one. I do not question the logic of so doing, it being pointed out that otherwise I will finish up with both new and old versions. The worry is that, if I remove the old version and am then unable to successfully install the new one, I will have well and truly 'burned my boats behind me'- and I have only just got the spell checker to work in the old version!

I have so far managed to download the .tar.gz file and extract the installation folder and associated files from it. I realise that the latter could well be lost when purging the existing LibreOffice installation but that does not matter. I have slightly renamed the .tar.gz file so that the purge command will not find it. I can then quickly re-extract the installation folder, with its .deb files, if I need to, the extraction process yielding exactly the same files whatever the .tar.gz file name.

I am just about ready to jump but I would like a handle on the 'desktop-integration' file, or folder, before I do.