LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

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


Hi
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

/home/ems/public_html/images/

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
this

-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
this

could you help me why this happens only in this dir

Regards
Chandra Mani
 
  


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 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 07:03 PM
changing the default file apache web server looks for gsgleason Linux - Software 3 11-18-2005 12:31 PM
Apache File Permission Strange Problem hcubed Linux - Networking 1 05-15-2004 01:09 AM
uploaded file on vsftpd has wrong file attributes rune.kg Linux - Newbie 2 03-06-2004 09:23 AM
Lost permission on uploaded files beatlelane Linux - Security 5 09-11-2003 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:14 PM.

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