June 29, 2012 / doganay
CHANGING PERMISSIONS at SPECIFIC USER LEVEL (SETFACL, GETFACL)
& unix, ---, -wx, a unix, a unix environment, a unix system, about linux, about linux kernel, about linux kernel 2.6, about linux operating system, about linux operating system features, about linux operating system tutorial, about oracle, about unix, about unix commands, about unix operating system, about unix shell, about unix shell scripting, and unix, at unix, centos, centos 6, centos 6.2, Changing Permission, Changing Permissions, Changing Permissions at Specific User Level, Changing Permissions at Specific User Level (setfacl, clear permissions, command linux, Directory, download linux, err, error, execute, fedora, fedora 16, fedora 17, fedora fedora, fedora linux, fedora or fedora linux, for linux, for linux bash, for linux command, for linux shell, for linux shell command, for linux shell script, for unix, for unix shell, for unix shell script, for unix syntax, getfacl), How, HOW TO, how to linux, how to linux commands, in oracle, in unix, in unix command, in unix means, in unix shell script, install linux, Linux, linux -rw-rw-r--, linux -rwxr-xr-x, linux at, linux basic commands, linux basics, linux command, linux command line, linux command line commands, linux command line shortcuts, linux command list, linux command list with example, linux commands, linux commands tutorial, linux commands tutorial for beginners, linux commands tutorial with examples, linux commands with examples, linux commands with examples and syntax, linux download, linux for you, linux how to, linux install, linux interview questions, linux kernel, linux learning center, linux notes, linux operating system, linux os, linux programming, linux questions and answers, linux quick reference, linux redhat, linux shell scripting, linux training, linux tutorial, linux tutorial for beginners, linux x86, Linux-x86_64, on unix, open source, oracle as, oracle for, oracle in, oracle with, Permission, problem, r--, r-x, read, red hat, red hat enterprise linux, red hat enterprise linux 5, red hat enterprise linux 6, red hat hat, red hat linux, red hat linux commands, red hat linux commands list, redhat, redhat as, redhat as 5, redhat as 5 oracle 10g, redhat as 5.6, redhat as 5.7, redhat hat, redhat linux, redhat linux 6, redhat linux 6 commands, rw-, rwx, setfacl, shell commands, shell commands for dba, shell for oracle, shell scripts for dba, shell scripts for oracle, Solution, the oracle, the red hat, tikanga, unbreakable linux, unbreakable linux kernel, unbreakable linux kernel xen, Unix, unix &, unix & linux commands, unix & linux system administration, unix and, unix and linux, unix and linux commands, unix and linux system administration, unix and shell programming, unix and shell programming notes, unix at, unix awk, unix basic commands, unix commands, unix commands pdf, unix commands tutorial, unix commands tutorial for beginners, unix commands tutorial with examples, unix commands with examples, unix commands with examples and syntax, unix for, unix for beginners, unix for beginners tutorial, unix for dummies, unix how to, unix in, unix in 24 hours, unix in a nutshell, unix kernel, unix learning, unix linux, unix notes, unix operating system, unix programming, unix questions, unix questions and answers, unix shell programming, unix shell scripting, unix shell scripting examples, unix shell scripting interview questions, unix shell scripting interview questions and answers, unix shell scripting interview questions and answers for experienced, unix shell scripting interview questions answers and explanations, unix shell scripting tutorial, unix shell scripting tutorial for beginners, unix shell scripting tutorial with examples, unix tutorial, unix tutorial for beginners, unix utilities, unix wiki, User, User Level, what is linux, what is linux and unix, what is linux kernel, what is linux operating system, what is linux operating system & its features, what is linux operating system used for, what is oracle, what is redhat, what is redhat enterprise linux 5, what is redhat enterprise linux 5 update 1, what is redhat enterprise linux 5 update 2, what is redhat enterprise linux 6, what is redhat enterprise linux 6 update 1, what is redhat enterprise linux 6 update 2, what is redhat linux, what is redhat linux 5, what is redhat linux commands, what is redhat linux enterprise 5, what is redhat linux enterprise 6, what is unix, what is unix and linux, what is unix and linux operating systems, what is unix and linux servers, what is unix os, what is unix os used for, what is unix shell, what is unix shell programming, what is unix shell scripting, what is unix shell scripting in oracle, what is unix shell scripting tutorial, what is unix shell scripting used for, which linux, which linux is best, which linux is best desktop, which linux is best for home use, which linux is best server, which linux os is best, which linux os is best beginners, which linux os is best desktops, which linux os is best laptops, why linux, why linux is more secure, why linux is more secure than windows, why linux is more secure than windows 7, write
## You can give permission to a user:
## 4:read 2:write 1:execute
setfacl -r -m user:myuser:4 myfile
## clear permissions:
setfacl -d user:myuser:4 myfile
## set permissions of files that will be created in a specific directory:
setfacl -m d:u::rwx,d:g::r-x,d:u:myuser:r-x,d:m:r-x,d:o:—,user:myuser:r-x mydirectory
## or
setfacl -r -m default:user:myuser:r-x,default:user::rwx,default:group::r-x,default:mask:r-x,default:other:— mydirectory
Leave a comment