Tagged articles
9 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Apr 21, 2025 · Information Security

Master Linux File Permissions: Basics, SetUID, SetGID & Sticky Bits

This guide explains Linux file permission concepts, from basic read/write/execute rights and numeric representations to advanced SetUID, SetGID, sticky bits, default umask settings, ownership changes, and ACL strategies, with practical chmod examples and command-line demonstrations.

ACLLinuxchmod
0 likes · 17 min read
Master Linux File Permissions: Basics, SetUID, SetGID & Sticky Bits
php Courses
php Courses
Mar 20, 2024 · Backend Development

Using PHP fileperms() to Retrieve and Format File Permissions

This article explains how the PHP fileperms() function can be used to obtain a file's permission bits, demonstrates a basic usage example, and provides a helper function that converts the numeric result into a human‑readable permission string such as -rw‑r--r--.

code-examplefile-permissionsfileperms
0 likes · 5 min read
Using PHP fileperms() to Retrieve and Format File Permissions
Liangxu Linux
Liangxu Linux
Nov 5, 2020 · Fundamentals

Master Linux File Permissions: A Complete Guide to Using chmod

This tutorial explains Linux file and directory permissions, the chmod command syntax, numeric and symbolic modes, and provides step‑by‑step examples—including recursive changes, reference files, and selective execution—so readers can confidently manage access rights on any Unix‑like system.

Sysadminchmodcommand-line
0 likes · 10 min read
Master Linux File Permissions: A Complete Guide to Using chmod
Laravel Tech Community
Laravel Tech Community
Sep 22, 2020 · Backend Development

PHP chown() Function: Changing File Ownership

The article explains PHP's chown() function, detailing its purpose, syntax, parameters, return values, and provides a complete example with code and expected output for changing a file's owner on a server.

BackendFilesystemchown
0 likes · 2 min read
PHP chown() Function: Changing File Ownership
Laravel Tech Community
Laravel Tech Community
Sep 19, 2020 · Backend Development

PHP chmod Function: Changing File Permissions

The PHP chmod function changes a file's permission mode by specifying the file path and an octal mode value, returning true on success and false on failure, with detailed parameter descriptions and multiple code examples illustrating correct and incorrect usage.

BackendFilesystemchmod
0 likes · 3 min read
PHP chmod Function: Changing File Permissions
Liangxu Linux
Liangxu Linux
Dec 29, 2019 · Operations

Master Linux File Permissions: chown, chgrp, and chmod Explained

This guide explains Linux's three identity types (owner, group, others) and their read/write/execute permissions, shows how to interpret ls -al output, and provides detailed syntax, options, and practical examples for changing owners with chown, groups with chgrp, and permissions with chmod using both symbolic and numeric methods.

LinuxUnixchgrp
0 likes · 10 min read
Master Linux File Permissions: chown, chgrp, and chmod Explained