|
From: | bobby |
Subject: | Re: [Duplicity-talk] Backup script not working |
Date: | Sat, 28 Aug 2021 17:56:36 -0400 |
bobby,
ftp without a path an do an ls, pwd. obviously whatever the webui is showing you differs from where your ftp user ends up after login. can your ftp user create folders?
..ede/duply.net actually is a big NAS fan, the rapper that is ;)
On 28.08.2021 23:32, bobby via Duplicity-talk wrote:
> ls: invalid option -- 'Z'
> I find the messages file empty. This is a qnap device. I can't do sestatus.
> Doing a ftp://<username>@192.168.2.15//share/backups <http://192.168.2.15//share/backups> on my laptop, it says "Could not enter folder /share/backups". Yet, I can traverse there when on the CLI.
>
> On Thu, Aug 26, 2021 at 3:55 PM Jeffrey Walton via Duplicity-talk <duplicity-talk@nongnu.org <mailto:duplicity-talk@nongnu.org>> wrote:
>
> On Thu, Aug 26, 2021 at 2:39 PM edgar.soldin--- via Duplicity-talk
> <duplicity-talk@nongnu.org <mailto:duplicity-talk@nongnu.org>> wrote:
> >
> > as i read it
> >
> > "
> > <--- 257 "/" is the current directory
> > ---- CWD path to be sent is `/share/backups'
> > ---> CWD /share/backups
> > <--- 550 /share/backups: No such file or directory
> > cd: Access failed: 550 /share/backups: No such file or directory
> > ---> MKD share
> > <--- 550 share: Forbidden filename
> > ---> MKD share/backups
> > <--- 550 share/backups: File exists
> > ---> MKD share/backups/
> > <--- 550 share/backups/: File exists
> > mkdir: Access failed: 550 share/backups/: File exists
> > "
> >
> > the ftp server on you NAS is confused here and sending mixed signals. first it states "cd: Access failed: 550 /share/backups: No such file or directory" then it won't allow creating it "mkdir: Access failed: 550 share/backups/: File exists" saying it is already there.
>
> Just throwing in my 2 cents... This smells of SELinux.
>
> From a root console on the NAS, what does a `ls -alZ` show? Do you see
> a SELinux context? Does the user the ftp server is running under have
> proper access to the folder? Do you have any "avc: denied" messages in
> /var/log.messages?
>
> Jeff
>
> _______________________________________________
> Duplicity-talk mailing list
> Duplicity-talk@nongnu.org <mailto:Duplicity-talk@nongnu.org>
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> Duplicity-talk@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
[Prev in Thread] | Current Thread | [Next in Thread] |