• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Nginx and user group

bernhardh86

Basic Pleskian
Server operating system version
Ubuntu 22.04 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.55
In my public folder, there are folders with rwx permissions for the user gkde (which is my system user) and the psacln group. All others don't have permissions (why should they?).
The problem now is, that nginx doesn't show the files inside the folder, because the nginx user isn't member of the psacln group. See

Bash:
ps aux|grep nginx|grep -v grep
root      909653  0.0  0.0  23736  3488 ?        Ss   15:01   0:00 nginx: master process /usr/sbin/nginx
nginx     909666  0.0  0.0  25532 12588 ?        S    15:01   0:00 nginx: worker process
nginx     909672  0.0  0.0  23748  4992 ?        S    15:01   0:00 nginx: cache manager process

groups nginx  
nginx : nginx psaserv

Is it ok, to just make:

Bash:
usermod -a -G psacln nginx
service nginx restart

Or how to deal with this issue?

Not sure if this is even relevant, but: I am using nginx without apache to serve a "static" subdomain "cdn.example.com". Because of this, I disabled "proxy_mode" on this domain.
 
Ok. And how to solve this issue? Giving all folders x permissions and all files read permissions for everyone? Thats not a real solution in my eyes
 
I must have missed the issue. Could you please rephrase what issue exactly you see? When you opt for Nginx only hosting, Nginx can access all files of a website. What files do you wish to access that you cannot access?
 
Back
Top