Re: [nanoc] File permissions on generated files

33 views
Skip to first unread message

Denis Defreyne

unread,
Apr 28, 2013, 7:56:40 AM4/28/13
to na...@googlegroups.com
Hi Kristian,

This looks like an umask issue. Can you check what the output of `umask` is? It should give 022 or 002.

Denis

Am 29 Mar 2013 um 11:14 schrieb kristia...@gmail.com:

> Hi!
>
> I have some problems regarding file permissions on the files generated by nanoc. For example, a directory with permissions 755 gets permissions 777 after site is compiled. I'm on Linux and not entirely confident in my abilities so the problem may well lie somewhere else than in nanoc. It's not a big problem to change the permissions after compilation but I'm sure there's a better solution--I'd be grateful for any suggestions as to how I could get the files to assume their correct permissions after compilation.
>
> On a sidenote: nanoc seems to disregard hidden (dot) files. Again, this is easy to solve by having the file without dot in content and routing it to the correct name in output, but is there any other way?
>
> Finally: Thanks to everyone who contributes to nanoc, it's a great piece of software and usually solves problems in a very elegant way!
>
>
>
> --
> --
> You received this message because you are subscribed to the nanoc discusssion group.
>
> To post to this group, send email to na...@googlegroups.com
> To unsubscribe from this group, send email to
> nanoc+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nanoc?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "nanoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nanoc+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

kristia...@gmail.com

unread,
Aug 1, 2013, 2:22:17 AM8/1/13
to na...@googlegroups.com
Hi!

I'm not using quite the same system where the problem occured, but, looking back, I think it was indeed an umask issue. Thanks for your reply!

Kristian
Reply all
Reply to author
Forward
0 new messages