Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-23-2006, 10:11 AM   #1
LQ Newbie
Registered: Mar 2005
Location: New Delhi
Posts: 3

Rep: Reputation: 0
Regarding default uploaded file permission in apache

could you please do a favor for me.......

when i upload image through browser in dir the default permission
should be 644 and it happens in


drwxrwxrwx 2 ems ems 4096 Mar 23 06:32 .
drwxrwxrwx 8 ems ems 4096 Mar 23 06:35 ..

-rw-r--r-- 1 apache apache 3355 Mar 22 16:53 0-aish49.jpg
-rwxrwxrwx 1 ems ems 9218 Mar 22 12:18 a11.jpg

problem :

but i am not able to understand why the default permission 644 is not
assigned in this dir home/usalimos/public_html/images/

drwxrwxrwx 2 usalimos usalimos 4096 Mar 23 07:15 .
drwxr-xr-x 224 usalimos usalimos 16384 Mar 23 07:14 ..

-rwxrwxrwx 1 usalimos usalimos 13166 Mar 22 12:39 hemant.jpg

-rw------- 1 apache apache 21088 Mar 23 07:15 image001.jpg

and when i touch a file in this dir the the default permission is

-rw-rw-r-- 1 usalimos usalimos 0 Mar 23 08:33 test

and when i upload a file through ftp the default permission is

-rw-r--r-- 1 usalimos usalimos 0 Mar 23 08:36 test1

could you help me why this happens only in this dir

Chandra Mani


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
umask and default file permission cool9292 Linux - Newbie 2 03-10-2006 08:03 PM
changing the default file apache web server looks for gsgleason Linux - Software 3 11-18-2005 01:31 PM
Apache File Permission Strange Problem hcubed Linux - Networking 1 05-15-2004 02:09 AM
uploaded file on vsftpd has wrong file attributes Linux - Newbie 2 03-06-2004 10:23 AM
Lost permission on uploaded files beatlelane Linux - Security 5 09-11-2003 03:36 AM

All times are GMT -5. The time now is 07:23 PM.

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