Custom Search
www.rocket99.com : Technical Guides Sybase Oracle UNIX Javascript


Technical Guides
Sybase
Oracle
UNIX
Javascript




Of Interest

Business Intelligence and Analytics



Oracle Training





UNIX » Commands » Basics »

File Permissions

     



Permission flags: r = read, w = write, x = execute Permissions are displayed
for owner, group, and others.









# display files, with permissions
ls -l
# make file readable, writeable, and executable for group/others
chmod 777 myfile

# make file readable and executable for group/others
chmod 755 myfile

# make file inaccessible for all but the owner
chmod 700 myfile

# make file readable and executable for group/others,
# user assumes owner's group during execution
chmod 4755 myfile

# change permission flags for directory contents
chmod -R mydir

# change group to staff for this file
chgrp staff myfile

# change owner to jsmith for this file
chown jsmith myfile









UNIX : Related Topics

UNIX : Commands : Using Tar
UNIX : Commands : Find files, current directory only
UNIX : Commands : Sort a file, with a specific key
UNIX : Commands : User Accounts
UNIX : Commands : Listing Files
UNIX : Commands : Moving and Copying Files
UNIX : Commands : Deleting Files
UNIX : Commands : Disk Usage
UNIX : Commands : Running a process, spawning a process
UNIX : Commands : Killing a UNIX process
UNIX : Commands : Redirecting Output
UNIX : Commands : Misc UNIX Tips
UNIX : Commands : Displaying a File

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site



Get the latest Rocket99 news and tech tips via






Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site




Copyright © 2016 Stoltenbar Inc All Rights Reserved.