• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
NhatDong

NhatDong

Chuyên trang chia sẻ kiến thức Quản trị doanh thu Khách sạn

  • Zero to Master
    • Nền tảng & Khái niệm (Foundation)
    • Chỉ số & Đo lường (Metrics & KPIs)
    • Dự báo & Phân tích (Forecasting & Analytics)
    • Định giá & Tối ưu doanh thu (Pricing & Optimization)
    • Kênh phân phối (Distribution & Channels)
    • Công nghệ & Tools (Technology & Software)
    • Vận hành & Trải nghiệm (Ops, Guest Experience & Loyalty)
    • Marketing & Tiếp cận khách (Marketing & Acquisition)
    • Sự nghiệp & Phát triển (Career & Growth)
  • Resources & Templates
  • About
    • Contact Us

How to set the permission drwxr-xr-x to other folders?

Category: Technology

I have few directores inside a folder like below – Tìm hiểu thêm về ota segment analysis tìm hiểu thêm về ota vs direct booking can bang kenh ban khach san

teckapp@machineA:/opt/keeper$ ls -ltrh
total 8.0K
drwxr-xr-x 10 teckapp cloudmgr 4.0K Feb  9 10:22 keeper-3.4.6
drwxr-xr-x  3 teckapp cloudmgr   4.0K Feb 12 01:44 data

I have some other folder as well in some other machines for which I need to change the permission to the above one like this drwxr-xr-x.

Meaning how can I change any folder permissions to drwxr-xr-x? I know I need to use chmod command with this but what should be the value with chown that I should use for this?

To apply those permissions to a directory:

chmod 755 directory_name

To apply to all directories inside the current directory:

chmod 755 */

If you want to modify all directories and subdirectories, you’ll need to combine find with chmod:

find . -type d -exec chmod 755 {} +

Previous Post:Custom Error Pages Setup for Nginx Proxy Manager​
Next Post:Thủ thuật Keymap với VIA

NhatDong.com

Chuyên trang chia sẻ kiến thức Quản trị doanh thu Khách sạn

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn
  • YouTube

Shop

  • Home
  • Blog
  • About
  • Features
  • Contact
  • Marketing

Features

  • Home
  • Blog
  • About
  • Features
  • Contact
  • Marketing

Support

  • Home
  • Blog
  • About
  • Features
  • Contact
  • Marketing