LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2004, 04:47 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Size limit for folder


How can I limiting the size of a certain folder?

Last edited by gubak; 10-16-2006 at 06:07 AM.
 
Old 11-10-2004, 07:59 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You'd probably best off setting up quota's. There is also setting the max size of files (since a directory is simply a file) on your system using ulimit but that would also limit the size of all files, unless you set it for that particular user, etc.
 
Old 11-11-2004, 02:20 AM   #3
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
I have tried to set by ulimint and by quota, but without any success.

I want to set the max size of the folder /home/user to be 5000kb.

Can you write me how to set it up?
Than you!

Last edited by gubak; 10-16-2006 at 06:08 AM.
 
Old 11-11-2004, 09:09 AM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
What you actually want to do is to limit maximum amount of data owned by user "user" in /home partition.
You can do this by quota. How to do it depends on your distribution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
user/folder size limit dfcc Linux - Software 5 10-08-2005 05:56 AM
limit folder size on server moby Linux - Networking 5 11-02-2004 03:18 PM
Limit folder access in NFS Min Donner Linux - Networking 7 08-20-2004 01:54 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration