Sponsored Content
Full Discussion: UNIX File Permissions
Top Forums UNIX for Advanced & Expert Users UNIX File Permissions Post 66537 by Perderabo on Tuesday 15th of March 2005 11:25:00 AM
Old 03-15-2005
Like I said, it turns on enforcement mode file locking.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix permissions

I am currently running jsp pages on unix server. At the top of my page is the import statement: <%@ page import="survey.*"%>. This imports the survey folder which i have placed in the same directory as my jsp page- jsp-servlet. However, when i try to run the page, its gives me an error saying that... (2 Replies)
Discussion started by: moukoko
2 Replies

2. Solaris

Unix permissions

Is anyone aware of a tool that would produce a report or an extract file of all users, the files thry are allowed to access and their associated rights permitted (Read,Write etc.) (0 Replies)
Discussion started by: mobershaw
0 Replies

3. UNIX for Dummies Questions & Answers

Unix permissions for a newbie

Okay, this may turn out to be something quite simple, but I haven't found the answer so far: 1) Is it possible to retrieve a list of user(ID) file permissions? and then... 2) What is the most efficient way to create an alert/error message when/if those file permissions are denied? ... (2 Replies)
Discussion started by: hades1013
2 Replies

4. Shell Programming and Scripting

Unix File Permissions

I want to change one of my Dir permissions to drwx--S--- Can you tell me which number i have to use. Thanks in Advance (4 Replies)
Discussion started by: veeru
4 Replies

5. UNIX for Dummies Questions & Answers

Unix Permissions

We have a user group ‘norkgrp’ which is having 2 users ‘norkadm’ and ‘oracle’. Further we have a directory ‘fstf_blobs’ where ‘norkadm’ is the owner and ‘norkgrp’ is the group owner. The permission is set as 770. $ ls -lrt drwxrwx--- 2 norkadm norkgrp 1024 Jun 24 05:03 fstf_blobs We... (5 Replies)
Discussion started by: varunrbs
5 Replies

6. Solaris

Unix file, folder permissions, security auditing tools.

I want to periodically check if ASCII password/config files on Unix have 400 or 600 access. Folders and files are owned by designated group and user. Folders and Files do not have world write access. Are there any tools/scripts available for this kind of auditing that I can use on Solaris? (7 Replies)
Discussion started by: kchinnam
7 Replies

7. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

8. Tips and Tutorials

Unix File Permissions

Introduction I have seen some misinformation regarding Unix file permissions. I will try to set the record straight. Take a look at this example of some output from ls: $ ls -ld /usr/bin /usr/bin/cat drwxrwxr-x 3 root bin 8704 Sep 23 2004 /usr/bin -r-xr-xr-x 1 bin bin ... (6 Replies)
Discussion started by: Perderabo
6 Replies
quotaon(8)						      System Manager's Manual							quotaon(8)

NAME
quotaon, quotaoff - turns quota enforcement on or off SYNOPSIS
/usr/sbin/quotaon [-guv] file_spec ... /usr/sbin/quotaon -a [-guv] /usr/sbin/quotaoff [-guv] file_spec ... /usr/sbin/quotaoff -a [-guv] PARAMETERS
Specifies one or more file systems. Specify any file system by entering its full path name or its mount point. The full path name is the name entered in the file-spec field of the file system's entry in the /etc/fstab file. The mount point is the name entered in the mnt_point field of the file system's entry in the /etc/fstab file. For UFS file systems, you can alternatively enter the name of a block device special file. For example: /dev/disk/dsk3c. For AdvFS filesets, you can alternatively enter the name of a file domain, a pound sign (#), and the name of the fileset. For exam- ple: root_domain#root. FLAGS
Turns on (with quotaon) or turns off (with quotaoff) quotas for all file systems identified in the /etc/fstab file as read/write with quo- tas. Turns on or off group quotas only. Turns on or off user quotas only. Prints a message for each file system whose quotas are turned on or off. DESCRIPTION
The quotaon and quotaoff commands enable or disable user and group quotas that have been established using the edquota command. To turn the quotas on or off, the file systems specified must have the userquota and groupquota entries in the /etc/fstab file and be mounted at the time. quotaon and quotaoff must be run by a user with superuser authority. These commands expect each file system to have quota files named quota.user and quota.group in the root directory of the file system. (These default file locations may be overridden in the /etc/fstab file.) By default, both user and group quotas are affected by the quotaon and quotaoff commands. Use the -g flag to specify only group quotas or the -u flag to specify only user quotas. NOTES
The term file system represents either a UFS file system or an AdvFS fileset. The quotaon and quotaoff commands are used to manage user and group quotas: they are not used to manage AdvFS fileset quotas. Use the chfsets command to set or clear fileset quotas. AdvFS always maintains user and group file and block usage in the quota files (quota.user and quota.group). User and group quota limit information displays with the showfsets command even if quota enforcement is turned off. When a file system is unmounted, user and group quotas are disabled. After a file system has been remounted, use the quotaon command to enable user and group quotas on the file system. RESTRICTIONS
You must be the root user to run the quotaon and quotaoff commands. FILES
Specifies the command path Specifies the command path Contains user quotas for filesets Contains group quotas for filesets Contains file system names and locations RELATED INFORMATION
Commands: chfsets(8), showfsets(8), edquota(8), fsck(8), quota(1), quotacheck(8), repquota(8). Functions: quotactl(2). Files: fstab(4). delim off quotaon(8)
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy