Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

File permissions created by gpfdist through external tables

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Gpfdist, which exports data to files through external tables, usually uses gpadmin, and the permissions of the created files are 600. in many cases, other users cannot access them, especially by remotely mounting directories to other programs.

At the beginning, I want to solve the problem at the system level by giving inherited permissions to specific user directories through setfacl, but the final file permissions of the newly created files are still inaccessible. In the end, it is not necessarily the best to find information and find a solution.

Other programs first create an empty file, and as long as the other user is given rw permission (gpadmin users can operate it), the data exported by gpfdist through the external table will be written to the file in the form of appended data, so that other programs can access the file.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report