Skip to content

Instantly share code, notes, and snippets.

@dlangille
Last active March 9, 2019 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/9bb1ff89f448a4023219d7475e6fdeec to your computer and use it in GitHub Desktop.
Save dlangille/9bb1ff89f448a4023219d7475e6fdeec to your computer and use it in GitHub Desktop.
=>> Checking for extra files and directories
=>> Error: Files or directories modified:
%%FP_DATADIR%%/cache user (10001, 80) permissions (0755, 0775)
%%FP_DATADIR%%/cache/daily user (10001, 80) permissions (0755, 0775)
%%FP_DATADIR%%/cache/news permissions (0755, 0775)
root@120amd64-default-master-list:/var/db/freshports # ls -l
total 19
drwxrwxr-x 9 www freshports 9 Mar 9 15:21 cache
drwxr-xr-x 2 freshports freshports 2 Mar 6 04:26 mail
drwxr-xr-x 5 freshports freshports 5 Mar 6 04:26 message-queues
drwxr-xr-x 10 freshports freshports 21 Mar 9 15:20 ports-jail
drwxr-xr-x 2 freshports freshports 2 Mar 6 04:26 signals
drwxr-xr-x 2 freshports freshports 2 Mar 6 04:26 tmp
root@120amd64-default-master-list:~ # ls -l /var/db/freshports/cache/
total 4
drwxrwxr-x 2 www freshports 2 Mar 9 15:32 daily
drwxr-xr-x 2 www freshports 2 Mar 9 15:32 general
drwxr-xr-x 2 freshports freshports 2 Mar 6 04:26 html
drwxrwxr-x 2 www freshports 2 Mar 9 15:32 news
drwxr-xr-x 2 www freshports 2 Mar 9 15:32 pages
drwxrwxr-x 2 www freshports 2 Mar 6 04:26 ports
drwxrwxr-x 2 www freshports 2 Mar 6 04:26 spooling
root@120amd64-default-master-list:/var/db/freshports # id www
uid=80(www) gid=80(www) groups=80(www)
root@120amd64-default-master-list:/var/db/freshports # id freshports
uid=10001(freshports) gid=10001(freshports) groups=10001(freshports)
${MKDIR} ${STAGEDIR}${FP_DATADIR}
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache/daily
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache/general
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache/news
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache/pages
${MKDIR} ${STAGEDIR}${FP_DATADIR}/cache/ports
${MKDIR} ${STAGEDIR}${FP_DATADIR}/signals
${MKDIR} ${STAGEDIR}${FP_DATADIR}/tmp
@dir(freshports,freshports,755) %%FP_DATADIR%%
@dir(www,freshports,775) %%FP_DATADIR%%/cache
@dir(www,freshports,775) %%FP_DATADIR%%/cache/daily
@dir(www,freshports,755) %%FP_DATADIR%%/cache/general
@dir(www,freshports,775) %%FP_DATADIR%%/cache/news
@dir(www,freshports,755) %%FP_DATADIR%%/cache/pages
@dir(www,freshports,775) %%FP_DATADIR%%/cache/ports
@dir(freshports,freshports,755) %%FP_DATADIR%%/signals
@dir(freshports,freshports,755) %%FP_DATADIR%%/tmp
@dir(freshports,freshports,755) %%FP_LOGDIR%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment