Package Details: autochown 2022.7-3

Git Clone URL: https://aur.archlinux.org/autochown.git (read-only, click to copy)
Package Base: autochown
Description: Monitor multiple directories using glob patterns and automatically adjust file ownership and permissions.
Upstream URL: https://xyne.dev/projects/autochown
Keywords: utilities
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 6
Popularity: 0.000056
First Submitted: 2012-09-17 05:04 (UTC)
Last Updated: 2022-07-15 22:38 (UTC)

Latest Comments

1 2 Next › Last »

Xyne commented on 2020-06-12 19:12 (UTC)

@maddyboo Fixed in version 2020, sorry for the delay.

b0o commented on 2020-05-19 16:22 (UTC)

@Xyne I'm having issues building the package:

/usr/bin/ld: CMakeFiles/autochown.dir/src/inotify.c.o:(.bss+0x0): multiple definition of `INOTIFY_INSTANCE'; CMakeFiles/autochown.dir/src/main.c.o:(.bss+0x30): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/autochown.dir/build.make:149: autochown] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/autochown.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: autochown

Using the version from your repo for now.

Xyne commented on 2016-08-01 13:53 (UTC)

@183.amir 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 (UTC)

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

Xyne commented on 2016-07-07 22:51 (UTC)

@183.amir 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 (UTC)

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 (UTC)

@kozaki 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 (UTC)

@Xyne thank you :) Now I read you, it makes sense. Man page could include an example, just to make sure. ie: --- = INPUT FILE = 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 (UTC)

@kozaki 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 (UTC)

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'.