Symbolic permission
# awk -F":" '{print $1}' /etc/passwd
# awk -F":" '{print $1}' /etc/group
Assigning ownership to a particular user of a group:
# chown -R www:www /usr/local/www/apache24/life110volts.com
Give file access permission:
# chmod -R /usr/local/www/apache24/life110volts.com
To see the file list with the permission:
root@freebsd:/ # ls -la /usr/local/www/apache24/life110volts.com
drwxr-xr-x 7 root wheel 512 Dec 30 10:45 ..
Meaning:
-d:file/directory, First:owner, second: group, third:world
Users and Basic Account Management
Links: 1, Permissions freeBSD,
No comments:
Post a Comment