Sponsored Content
Full Discussion: Set quota on directories
Operating Systems Solaris Set quota on directories Post 302116751 by sysgate on Tuesday 8th of May 2007 08:00:43 AM
Old 05-08-2007
Take a look here, hope this helps.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Quota

I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 Replies

2. Linux

How to set user quota

I've a redhat 9.0 and I want to set a user quota. but the question is where should I start from and How ??? :confused: :confused: :confused: :confused: (2 Replies)
Discussion started by: KaiXiang
2 Replies

3. Programming

to find a file in set of directories

Hi, what is the command in unix to find a file abc.c in a directory which had n number of sub-directories. thanx (3 Replies)
Discussion started by: jazz
3 Replies

4. HP-UX

Quota-problem

Hello, I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies

5. UNIX for Dummies Questions & Answers

Quota Problem

Hi all! I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed: du -hs It showed me: 76K . But when I used quota command, it showed me: Disk quotas for user X (uid *********): Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies

6. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

7. Red Hat

User quota

Hi, I want to apply the user quota, but i am unable to apply the quota to user. Kindly provide the guide line, so that i can sortout the problem. Step 1: Create partion on device #fdisk /dev/sda (because hard disk is scsi) #n (new partition table) i.e /dev/sda8. #p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

8. Red Hat

To set quota on a folder

Hi guys, I know that we can set quota limit for an OS user on a filesystem. But I have a different objective to achieve - can we set a limit on a folder on a filesystem. Let use I have a 'apps' folder in some filesystem. Disc space occupied by 'apps' should not be more that 5GB. ... (3 Replies)
Discussion started by: jredx
3 Replies

9. UNIX for Dummies Questions & Answers

Loop through Sub Directories and search for set of files

I have the below directory in unix environment /home/bkup/daily: ls -lrt drwxrwx--x 2 user user 256 Jan 12 18:21 20110112/ drwxrwx--x 2 user user 256 Jan 13 17:06 20110113/ drwxrwx--x 2 user user 256 Jan 14 16:44 20110114/ drwxrwx--x 2 user user ... (2 Replies)
Discussion started by: prasannarajesh
2 Replies

10. UNIX for Beginners Questions & Answers

Set hard block limit for user using quota

hi all, i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive) i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
VFS_DEFAULT_QUOTA(8)													      VFS_DEFAULT_QUOTA(8)

NAME
vfs_default_quota - store default quota records for Windows clients SYNOPSIS
vfs objects = default_quota DESCRIPTION
This VFS module is part of the samba(7) suite. Many common quota implementations only store quotas for users and groups, but do not store a default quota. The vfs_default_quota module allows Samba to store default quota values which can be examined using the Windows Explorer interface. By default, Samba returns NO_LIMIT the default quota and refuses to update them. vfs_default_quota maps the default quota to the quota record of a user. By default the root user is taken because quota limits for root are typically not enforced. This module is stackable. OPTIONS
default_quota:uid = UID UID specifies the user ID of the quota record where the default user quota values are stored. default_quota:gid = GID GID specifies the group ID of the quota record where the default group quota values are stored. default_quota:uid nolimit = BOOL If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. default_quota:gid nolimit = BOOL If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. EXAMPLES
Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits: [global] vfs objects = default_quota default_quota:uid = 65535 default_quota:uid nolimit = yes VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. VFS_DEFAULT_QUOTA(8)
All times are GMT -4. The time now is 05:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy