• 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

  • Lộ trình Revenue Manager
    • Nền tảng Revenue Management
    • Metrics & KPIs
    • Pricing & Yield
    • Forecast & Planning
    • Distribution & Channel Management
    • Commercial Strategy & Acquisition
    • Guest Experience & Direct Booking
    • Reporting, Data & Tools
    • Leadership & Career Growth
  • Resources & Templates
  • About
    • Contact Us

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

Chuyên mục: 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.

Kiến thức thực chiến, công cụ và góc nhìn giúp Revenue Manager ra quyết định tốt hơn.

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn
  • YouTube

Khám phá

  • Trang chủ
  • Bài viết mới nhất
  • Zero to Master
  • Về NhatDong

Học & tải tài liệu

  • Free Resources
  • Newsletter
  • Revenue Fundamentals
  • Pricing & Optimization

Kết nối

  • [email protected]
  • LinkedIn
  • YouTube
  • Chính sách bảo mật