You are not logged in.

#1 2015-05-09 09:50:23

bagol
Member
Registered: 2015-01-29
Posts: 28

Oracle jdk permissions issue

I've this when installing oracle-jdk AUR package

warning: directory permissions differ on /usr/share/applications/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/man/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/mime/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/mime/packages/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/man/ja/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/man/man1/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/man/ja/man1/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/16x16/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/48x48/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/48x48/apps/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/48x48/mimetypes/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/16x16/apps/
filesystem: 755  package: 700
warning: directory permissions differ on /usr/share/icons/hicolor/16x16/mimetypes/

Because it doesn't permit (700) other user than root to use java, I need to doing chmod 755 manually for all those listed path. Is it just me, or someone else meet this problem?

700 permission give a problem when I run package like pycharm as non-root, because it can't read those directories.

Offline

#2 2015-05-09 10:22:07

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: Oracle jdk permissions issue

I don't see an oracle-jdk package in the AUR, you sure that's the package you're installing?

Moving to AUR issues.


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

#3 2015-05-09 10:27:30

bagol
Member
Registered: 2015-01-29
Posts: 28

Re: Oracle jdk permissions issue

It's mentioned in wiki and it is aur package.

Last edited by bagol (2015-05-09 10:28:31)

Offline

#4 2015-05-09 11:29:11

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: Oracle jdk permissions issue

I can't reproduce this. Have you changed your umask?


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

#5 2015-05-11 09:02:09

bagol
Member
Registered: 2015-01-29
Posts: 28

Re: Oracle jdk permissions issue

Sorry for late response. I backed up my aur package in ntfs partition, and then reinstall the system.

Offline

#6 2015-05-11 11:07:19

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Oracle jdk permissions issue

You've messed up all your filesystem permissions, by using NTFS.

The sensible fix is to reinstall your distro.

Edit: Might not have to be so drastic - what dirs were backed up and restored from NTFS?

Last edited by brebs (2015-05-11 12:43:38)

Offline

#7 2015-05-11 11:13:12

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: Oracle jdk permissions issue

Did you build the package on the ntfs filesystem? I suspect that would cause the same problem, as ntfs partitions don't support UNIX file permissions.


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

#8 2015-05-13 17:19:43

bagol
Member
Registered: 2015-01-29
Posts: 28

Re: Oracle jdk permissions issue

No, i just copied all file from makepkg -s command to NTFS partition and copied those files back to ext4.

Offline

Board footer

Powered by FluxBB