tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: [OT] Problems with file permissions
Date Wed, 19 Jul 2006 17:46:21 GMT
echo $HOME
(this is your users home folder where all FTP access should get files from OR put files to..)

Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Propes, Barry L" <>
To: "Tomcat Users List" <>
Sent: Wednesday, July 19, 2006 11:33 AM
Subject: RE: [OT] Problems with file permissions

Michelle. See if you can create a new folder on the UNIX server while in an FTP program like
CoreFTP or WinsockFTP.

Then dump everything to THAT folder and see if permissions are kept intact.

-----Original Message-----
From: []
Sent: Wednesday, July 19, 2006 9:16 AM
To: Tomcat Users List
Subject: Re: [OT] Problems with file permissions

Hi David,
Thanks for that and sorry for my ignorance of Apache Tomcat but I have 
just moved from an old IIS server that didn't care about the file 
permissions.  I am using ftp from Windows (using Dreamweaver)  to a Unix 
box so windows doesn't know about setting file permissions in this 

I have put out questions on the HP side as well but I am just puzzled why 
Apache cares about file permissions instead of user/group security.

Thanks again for any help you can give.

David Smith <> 
No Phone Info Available
19/07/2006 15:02
Please respond to
"Tomcat Users List" <>

Tomcat Users List <>

Re: [OT] Problems with file permissions

Two solutions, neither are 'apache' solutions:

1. Set sticky bits on the permissions on the folder so new files created 
under it adopt it's settings.
2. Configure your ftp service to correctly set permissions on upload.

Of course, I don't see where any of this has to do with tomcat, hence 
the OT marker in the subject.

---David wrote:

>Hi Tomcat users!
>I have a problem with user permissions on my web server -  when a file is 

>ftp'd to the webserver the permissions are -rw-r----- and browsers trying 

>to access the url are forbidden to view.  Once I chmod 666 the file then 
>browsers gain access.  But as my website changes constantly I don't want 
>to do this every time.  Apache is owned by 'root' but I administer and 
>the site documents as 'web'.
>How can I change apache to allow public access to files with read 
>Thanks for your Help!

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message