From: | Omer Ozarslan <omerfaruko(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15810: Using custom directory on external HDD gives permission error |
Date: | 2019-05-17 03:39:19 |
Message-ID: | CAMsVCmWy9bfCjrA6OoiEX7YcyXdpuskZFs+KDCXY7sW8Uk_+6A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, May 16, 2019 at 6:59 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I think we do a chmod but we don't then check to see if stat reports
> the correct permissions. IIUC, the reporter is using a filesystem
> that lacks permissions altogether and is just ignoring the chmod.
> So later checks fail.
Yes, this is likely the case btw:
```
omer(at)omer:/media/omer/My Book/ris/postgres_data$ ls -al postgresql.conf
-rwxrwxrwx 1 omer omer 23902 May 16 11:06 postgresql.conf
omer(at)omer:/media/omer/My Book/ris/postgres_data$ chmod u=rwx,g=rx,o=
postgresql.conf
omer(at)omer:/media/omer/My Book/ris/postgres_data$ echo $?
0
omer(at)omer:/media/omer/My Book/ris/postgres_data$ ls -al postgresql.conf
-rwxrwxrwx 1 omer omer 23902 May 16 11:06 postgresql.conf
```
Best,
Omer
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-05-17 03:43:56 | Re: BUG #15810: Using custom directory on external HDD gives permission error |
Previous Message | Omer Ozarslan | 2019-05-17 03:29:15 | Re: BUG #15810: Using custom directory on external HDD gives permission error |