diff options
author | Brian Gix <brian.gix@intel.com> | 2021-02-23 10:36:38 -0800 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2021-02-23 16:59:46 -0800 |
commit | c8a47b6d67a2941e657212746fa470f8add9c443 (patch) | |
tree | 53992a4a127fee6e89f926948324f74bf6495e89 /obexd/plugins/ftp.c | |
parent | b02298efd3d3f88bccfe3b0b150b96b5e45cf81d (diff) | |
download | bluez-c8a47b6d67a2941e657212746fa470f8add9c443.tar.gz |
obexd: Cleanup deprecated symbolic file permissions
Diffstat (limited to 'obexd/plugins/ftp.c')
-rw-r--r-- | obexd/plugins/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c index f60cf143d..259bfcae2 100644 --- a/obexd/plugins/ftp.c +++ b/obexd/plugins/ftp.c @@ -284,8 +284,8 @@ int ftp_setpath(struct obex_session *os, void *user_data) goto done; } - if (S_ISDIR(dstat.st_mode) && (dstat.st_mode & S_IRUSR) && - (dstat.st_mode & S_IXUSR)) { + if (S_ISDIR(dstat.st_mode) && (dstat.st_mode & 0400) && + (dstat.st_mode & 0100)) { set_folder(ftp, fullname); goto done; } |