-   Linux - Newbie (
-   -   Does re-uploading affect permissions? (

fiona333 06-11-2007 07:42 PM

Does re-uploading affect permissions?
Hi there,
I made some changes to a file an re-uploaded it to the server and then the associated pages could not be viewed online. Someone told me the permissions had been changed. ZCan this hapen by re-uploading, and/or would permissions on a file determine if pages can be viewed online???
Thanks for your help!

bsdunix 06-12-2007 09:02 PM

Not knowing what your uploading, how your uploading it, or where it's uploading to, the generic answer is the simple action of uploading a file does not by itself set the permissions.

Normally, permissions are set on the destination directory/folder and the stored file will inherit those permissions, i.e. owner can read/write and others read only. Once the file is stored, you can change the permissions if your remote access method/tool/app allows changes.

Now, you could have uploaded a file with a different name than what the server application is looking for. Example: You uploaded file.htm and your web page HTML code is looking for file.html

All times are GMT -5. The time now is 12:44 PM.