tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
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..)

HTH
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" <barry.l.propes@citigroup.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
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: Michele.A.Shiels@seagate.com [mailto:Michele.A.Shiels@seagate.com]
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 
instance. 

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.
Michele 



David Smith <dns4@cornell.edu> 
No Phone Info Available
19/07/2006 15:02
Please respond to
"Tomcat Users List" <users@tomcat.apache.org>


To
Tomcat Users List <users@tomcat.apache.org>
cc

Subject
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

Michele.A.Shiels@seagate.com 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 
own 
>the site documents as 'web'.
>How can I change apache to allow public access to files with read 
>permissions?
>
>Thanks for your Help!
>Michele
> 
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Mime
View raw message