[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-09-04 Thread Launchpad Bug Tracker
This bug was fixed in the package maas - 0.1+bzr971+dfsg-0ubuntu1 --- maas (0.1+bzr971+dfsg-0ubuntu1) quantal; urgency=low * New upstream release (LP: #1044367) [ Julian Edwards ] * Fix 02-pserv-config.patch to handle new default tftp directory [ Andres Rodriguez ] *

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-31 Thread Andres Rodriguez
Ok so, this needs to be looked at. MAAS modifies the files and the permissions end up being: ubuntu@maas:/etc/bind/maas$ ls -l total 12 -rwxr--r-- 1 maas maas 99 Aug 31 10:44 named.conf.maas -rw-r--r-- 1 root root 193 Aug 31 10:12 named.conf.rndc.maas -rw--- 1 root root 539 Aug 31 10:12

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-30 Thread James Page
** Changed in: maas (Ubuntu) Importance: Undecided = High ** Changed in: maas (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1042868 Title:

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Julian Edwards
Andres said he'd make the directory writable by the package. ** Also affects: maas (Ubuntu) Importance: Undecided Status: New ** Changed in: maas Status: Incomplete = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Andres Rodriguez
Julian, So I made the directory to be owned by maas user, root group, and this is the outcome: ubuntu@maas:/etc/bind$ ls -l maas/ total 12 -rw-r--r-- 1 root root 99 Aug 29 08:57 named.conf.maas -rw-r--r-- 1 root root 193 Aug 29 08:57 named.conf.rndc.maas -rw-r--r-- 1 root root 539 Aug 29 08:57

Re: [Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Julian Edwards
ARGH. The umask is messing us around again, it's the same problem for maas- import-ephemerals. The reason it changes on an existing file is because it gets renamed from a temp file (for atomic write purposes). Do you know where the umask is getting set for the maas user? -- You received this

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Andres Rodriguez
Julian, we do not set a umask for the maas user. It uses the default on user creation. however, we should not rely on changing the umask for the maas user, but rather, this should be fixed setting the correct permissions when copying over the file. -- You received this bug notification because

[Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Andres Rodriguez
Also not that on maas-dns install, I had to fix those permissions, but they keep being changed: # fix permissions if [ -f /etc/bind/maas/named.conf.maas ]; then chmod 644 /etc/bind/maas/named.conf.maas fi -- You received this bug notification because you are a

Re: [Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Julian Edwards
On Wednesday 29 August 2012 14:43:31 you wrote: Also not that on maas-dns install, I had to fix those permissions, but they keep being changed: # fix permissions if [ -f /etc/bind/maas/named.conf.maas ]; then chmod 644 /etc/bind/maas/named.conf.maas fi

Re: [Bug 1042868] Re: MAAS doesn't have permissions to write in /etc/bind/maas

2012-08-29 Thread Andres Rodriguez
Hi Julian Already proposed a branch to fix that! :-) Cheers On Aug 29, 2012 8:15 PM, Julian Edwards 1042...@bugs.launchpad.net wrote: On Wednesday 29 August 2012 14:43:31 you wrote: Also not that on maas-dns install, I had to fix those permissions, but they keep being changed: # fix