Home Man
Search
Today's Posts
Register

HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

File permission

Tags
hp-ux

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 04-21-2017
In a three digit permission, the 1st digit indicates permissions granted the file's owner, the 2nd digit indicates permissions granted to the users in the file's group, and the 3rd digit indicates permissions granted to everyone else. When a digit is 7, that class of users has read, write and execute (for regular files) or search (for directories) permission. When a digit is 5 that class of users does not have write permission.

The difference between 777 and 775 is that users who are not the file's owner and who are not in the group of that file do not have permission to write to the file if the mode is 775, but do have permission to write to that file if the mode is 777. (If the file is a directory, write permission is needed to create a file in that directory and to remove a file from that directory.)
The Following User Says Thank You to Don Cragun For This Useful Post:
Maddy123 (04-21-2017)
# 9  
Old 04-21-2017
Thanks Cragun. Well explained.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
MV file with other permission Pratik4891 Shell Programming and Scripting 12 05-27-2014 03:29 AM
How to add s permission on a file yoavbe Shell Programming and Scripting 1 11-12-2011 09:39 AM
permission on file sourav_ray UNIX for Dummies Questions & Answers 1 10-17-2008 09:20 AM
file permission/acl: 2 users with write access on 1 file... elzalem Security 0 08-28-2008 05:25 AM
file permission 000 zedex UNIX for Dummies Questions & Answers 4 12-03-2007 04:02 PM
FTP File Permission raybakh AIX 1 07-04-2006 08:11 AM
File Permission KhawHL UNIX for Advanced & Expert Users 2 05-24-2006 05:05 AM
File permission cleanice UNIX for Dummies Questions & Answers 3 09-10-2005 01:05 AM
The file permission ust Shell Programming and Scripting 1 05-12-2005 09:01 AM
Log file - permission ajkiruba UNIX for Advanced & Expert Users 6 04-24-2002 12:42 PM


All times are GMT -4. The time now is 03:18 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password