Package Details: autochown 2018-1

Git Clone URL: (read-only, click to copy)
Package Base: autochown
Description: Monitor multiple directories using glob patterns and automatically adjust file ownership and permissions.
Upstream URL:
Keywords: utilities
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 5
Popularity: 0.000000
First Submitted: 2012-09-17 05:04
Last Updated: 2018-08-20 13:57

Latest Comments

1 2 Next › Last »

Xyne commented on 2016-08-01 13:53

I have added the _FILE_OFFSET_BITS definition to main.c and added the ARM architectures to the PKGBUILD.

183.amir commented on 2016-07-22 19:11

That fixed it, thanks :)
btw, would it be possible to add ARM to architecture section too.

Xyne commented on 2016-07-07 22:51

Try manually adding it to the top of main.c:

#define _FILE_OFFSET_BITS 64
#include <dirent.h>

and then build with "makepkg -e". If that doesn't work then I don't know what to try. I haven't encountered this error before.

183.amir commented on 2016-06-23 18:55

Hi I am trying to use on my raspberry pi but it fails on large files:

sudo /usr/bin/autochown /etc/autochownd.conf
pid: 13112
error: failed to stat "/somelargefile.mkv" [Value too large for defined data type]

I have tried compiling the package again with " -D_FILE_OFFSET_BITS=64" added to the cmake line but it did not help.
Could you please help?

Xyne commented on 2014-01-29 00:07

The man page has been updated. The omitted-fields example appears after the first example. I hope it will be clear now. Thanks for the feedback.

kozaki commented on 2014-01-28 20:15

@Xyne thank you :)
Now I read you, it makes sense.
Man page could include an example, just to make sure. ie:
= Lines the begin with "> " indicate target directories. They have the following format:
= > <user>:<group>:<mask>:<glob pattern>
= <user>, <group> and <mask> are all optional.
+ But you must leave the colon delimiters, e.g. to only change the owner:
+ nobody:::/path/to/dir

Xyne commented on 2014-01-23 23:30

The line without the mask should be
> user:group::/home/user/directory

Note the double colon after group. You may omit the user, the group or the mask, but you must leave the colon delimiters, e.g. to only change the owner:

> nobody:::/path/to/dir

kozaki commented on 2014-01-23 22:07

Immediately before as well as after updating to autochown-2014-2, a line _without a mask_ causes the following error:
Process: 10504 ExecStart=/usr/bin/autochown /etc/autochownd.conf (code=exited, status=1/FAILURE)
Line in fault:
> user:group:/home/user/directory
Causes the erreur above.
> user:group:007:/home/user/directory
Runs fine. Same with a mask of '113D002'.

Xyne commented on 2013-02-13 21:08

There was a bug in the 2013 releases prior to 2013.2.13.1. If you are using using one of them, please update immediately. The bug would follow symlinks outside of the target directory and could do some damage depending on what was symlinked.

Xyne commented on 2012-10-17 02:48

It should just need a unit file. I will write unit files for all of my packages as soon as I switch to systemd. I've been meaning to do it for weeks now, but things keep coming up and my time is limited.