The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Read words from file and create new file using K-shell. bsrajirs Shell Programming and Scripting 4 06-01-2007 12:15 PM
Set quota on directories *Jess* SUN Solaris 1 05-08-2007 08:00 AM
Quota-problem chrizz HP-UX 5 10-28-2006 06:20 PM
How to set user quota KaiXiang Linux 2 09-04-2003 12:04 AM
Quota jarthda UNIX for Dummies Questions & Answers 1 05-14-2001 03:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-30-2007
sommer_queen sommer_queen is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 7
create file with 20mb with quota

Hello ,

does anyone know how to create a file with 20mb with the help of quota without root and as a normal user?


thank u in advance
  #2 (permalink)  
Old 10-30-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
You are trying to get around the quota imposed on your home directory?

/tmp and /var/tmp are two of the usual places to create large files that do not need to stay around forever.
  #3 (permalink)  
Old 10-30-2007
sommer_queen sommer_queen is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 7
well...the file has to created in the home directory ....thats the problem
  #4 (permalink)  
Old 10-30-2007
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 704
Hi.

You could try a link from home to tmp ... cheers, drl
  #5 (permalink)  
Old 10-30-2007
sommer_queen sommer_queen is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 7
if u could explain it in detail how it could be done would be nice..as i new to quota command.

thank u in advance
  #6 (permalink)  
Old 10-30-2007
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 704
Hi.

Assuming that you have the file in /tmp, say with the name "q", then try each of the following while in your home directory:
Code:
ln /tmp/q q
ln -s /tmp/q q
I'd guess that the second will be more successful.

Note that code that is written to expect files to be in certain places is not very flexible.

Look over the man pages on quota and ln to make sure that we are discussing the right concept and command(s):
Code:
man ln
man quota
... cheers, drl
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0