Well, I am creating those directories using puppet, and when nothing's 
mounted I don't want to have to be root to mess around with them. Kind of 
annoying. I went for an exec/unless thing now, in which I simply set the 
permissions on the command line - unless the directory already exists :) . 
Not great, but working. 

Thanks for your answer!


Am Freitag, 3. August 2012 16:04:48 UTC+2 schrieb jcbollinger:
>
>
>
> On Wednesday, August 1, 2012 1:18:51 AM UTC-5, Axel Bock wrote:
>>
>>
>> Mainly I just want to have the directory to have the correct permission 
>> when it is not currently mounted.
>>
>>
> If those permissions are different from the ones that the exported 
> directory has on the NFS server, then you have a tricky problem.  As 
> Christopher described, Puppet cannot directly distinguish between the 
> remote directory visible when it is mounted and the mount point directory 
> visible when the remote directory is not mounted.  This is an intentional 
> aspect of the Unix architecture and design.
>
> Are you sure that you actually need to manage the mount point's 
> permissions?  They do not matter as long as the remote directory is 
> mounted, so perhaps ensuring the remote directory mounted would be 
> sufficient.
>
>
> John
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/oF8yxWWvZpYJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to