Skip to contentSkip to conversation

Largefile support in 2.4

DISCUSSION Mike Black 2 participants 2 messages Jan 24, 2001 – Jan 25, 2001

lore
Share & tools
lore

Mike Black

author
#0 lore raw

How do normal users get to create/maintain large files (i.e. >2G) in Linux 2.4 on i386?

The root user can make filesize unlimited but a non-root user cannot. They come up with the same limits in both tcsh and bash (i.e. filesize 1048576 kbytes or 0x40000000)

I can't seem to find where this number comes from anywhere -- either in
glibc-2.2.1 or the kernel. getrlimit64 returns it.

I can't make all my users root users!!! Can anybody help?

________________________________________
Michael D. Black Principal Engineer
[email protected] 321-676-2923,x203
http://www.csihq.com Computer Science Innovations
http://www.csihq.com/~mike My home page FAX 321-676-2355

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

Hi,

Quoted 6 lines · Mike Black

How do normal users get to create/maintain large files (i.e. >2G) in Linux 2.4 on i386?

The root user can make filesize unlimited but a non-root user cannot. They come up with the same limits in both tcsh and bash (i.e. filesize 1048576 kbytes or 0x40000000)

Check your distribution's login process. The kernel sets no default limit, but several distributions let you set default limits for login. It's quite common to see core limits set on all logins, and I seem to recall at least Debian setting some of the other limits too.

--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/