Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43755 - [owncloud] permissions diffier between package/installed

Attached to Project: Community Packages
Opened by Gustavo Alvarez (sl1pkn07) - Monday, 09 February 2015, 15:13 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 03 March 2015, 10:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When update/reinstall owncloud

warning: directory ownership differs on /usr/share/webapps/owncloud/
filesystem: 33:33 package: 0:0


i'm not sure if can fix this only with change ownership with chmod

greetings
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 03 March 2015, 10:20 GMT
Reason for closing:  Not a bug
Additional comments about closing:  warning is not a bug and should be fixed manually. Package now has proper directory owner and group.
Comment by Sergej Pupykin (sergej) - Monday, 09 February 2015, 16:52 GMT
It is not a bug, probably you chown-ed it to http:http manually.
Comment by Gustavo Alvarez (sl1pkn07) - Monday, 09 February 2015, 17:12 GMT
I never chown-ed that files/directory by myself. I always make handle that with pacman/package

then what is the solution? chown-ed that directory (with recursive -R to change the file owner) to root:root (0:0) (like package) or ignore that message?

i not sure if remove the package and reisntall remove the out package files

greetings
Comment by tuxer (tuxer) - Monday, 09 February 2015, 21:47 GMT
Same problem here. For each file installed I got the error filesystem: 33:33 package: 0:0

After each new Owncloud version something doesn't work. I just hesitated today to install the new 8.0 version or to wait for the 8.01. Perhaps new Owncloud versions should be kept longer in testing like gnome which also quits the testing repository with its .1 release.
Comment by tuxer (tuxer) - Monday, 09 February 2015, 21:53 GMT
By the way, after updating the database to 8.0 the calendar and contacts have disappeared ...just wondered, what bug appears after this update
Comment by Sergej Pupykin (sergej) - Tuesday, 10 February 2015, 08:21 GMT
Calendar, contacts, bookmarks already are in aur. They were removed from upstream tarball.

I cannot reproduce warning about http:http ownership. Not sure how it was changed. root:root is ok for /usr/share/webapps/owncloud and it works for me.
Comment by Bastien Traverse (Neitsab) - Tuesday, 10 February 2015, 12:33 GMT
Setting ownCloud's directory ownership to the web server user (http on Arch) used to be recommended in the official doc (see https://github.com/owncloud/documentation/blob/fffc0ff08382b5b3e9049b56e9968b2457d051f7/admin_manual/installation/installation_source.rst#L187-L189 and https://github.com/owncloud/documentation/blob/fffc0ff08382b5b3e9049b56e9968b2457d051f7/admin_manual/installation/installation_source.rst#L158-L160 for the reason why) and suggested as a fix in many "Permission error" situations. I know I did chown -R http:http /usr/share/webapps/owncloud, maybe you did too :-)

It has now been superseded by the "Setting Strong Permissions" section ( http://doc.owncloud.org/server/8.0/admin_manual/installation/installation_wizard.html#setting-strong-directory-permissions ), which has more granularity. See the related issue on Github: https://github.com/owncloud/documentation/issues/738.

My advice: read and apply what they recommend in that section (if you use the script don't forget to adapt it to your installation), and maybe the maintainer will be willing to implement this in the PKGBUILD :-)
Comment by Bastien Traverse (Neitsab) - Tuesday, 10 February 2015, 12:53 GMT
@tuxer more info on the contacts and calendar apps removal (why and how to enable them) can be found at https://github.com/owncloud/documentation/issues/826.
Comment by Gustavo Alvarez (sl1pkn07) - Tuesday, 10 February 2015, 14:49 GMT
@Sergej Pupykin (sergej)

> I cannot reproduce warning about http:http ownership. Not sure how it was changed.

you've used owncloud since he was in AUR?
Comment by Bastien Traverse (Neitsab) - Tuesday, 10 February 2015, 16:16 GMT
> Comment by Bastien Traverse (Neitsab)
> ... and maybe the maintainer will be willing to implement this in the PKGBUILD

Actually, I reckon such script sould rather take place in a post_install() and post_upgrade() script. However one problem is that the whole process of chmod'ing to http relies on the fact that the http user **already exists**, which isn't obvious since owncloud doesn't depend on any web server. Allan McRae pinpoints the fact in the forum: https://bbs.archlinux.org/viewtopic.php?pid=1498604#p1498604.
Comment by tuxer (tuxer) - Tuesday, 10 February 2015, 19:57 GMT
Since Owncloud is part of the official packages and since the upgrade to 8.0 obviously breaks contacts and calendar at least a news entry should be created on the archlinux site stating the necessary workarounds.
Comment by Sergej Pupykin (sergej) - Monday, 02 March 2015, 18:23 GMT
0:0 is right owner, so I you can ignore this warning or do manual chown.

http user is a part of filesystem package now so it should exist.

Latest owncloud package has 0750/0640 permissions and root:root for all files except config.

app/ write access is not needed because of appstoreenabled=false in config sample and I recommend to install apps by pacman.

Probably I'll move calendar/contacts into community from AUR.
Comment by Sergej Pupykin (sergej) - Monday, 02 March 2015, 18:42 GMT
0750/0640 permissions reverted because of it will be too painful upgrade

Loading...