Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Uploading web files into the www
- Date: Tue, 7 Nov 2006 09:15:11 -0500
- From: Jim <jep200404@example.com>
- Subject: Re: [tlug] Uploading web files into the www
- References: <451681F6.70403@example.com> <17686.37056.872489.266041@example.com> <20060924162455.3440c71d.godwin.stewart@example.com> <451730B6.7060504@example.com> <338ABE36-2A4D-4582-A88E-7E918E37CAB9@example.com>
Forrest Nelson wrote: > Any ideas on the proper procedure for uploading web files? There many correct ways. I like scp -pr and rsync -aH -e ssh for their security and their ability to preserve permissions. > You do not have permissions to see this web page. Most likely your file permissions are screwed up. It's not clear how much you know about UNIX file permissions, so I recommend exploring the following: http://www.google.com/search?q=unix+permissions+tutorial As Darren Cook wrote, you can make your web files in the apache group, and readable by the apache group. Alternatively you could make the files readable by everyone. find /your/www/directory -type f -exec chmod o+r {} \; find /your/www/directory -type d -exec chmod o+rw {} \; It sounds like the way you convey files is cumbersome. Each machine in the middle can have different users and so each machine has an opportunity to screw up the permissions if you copy each web file as a file. Alternatively, you could bundle all the files into one file, with all the permission information hidden inside, then convey the one big file. Mangled permissions on that one big file, would not affect the permission information hidden inside. On source computer: cd /your/www/directory tar cvzf tx.tgz . Then convey tx.tgz to the destination computer by whatever means, then unbundle the tx.tgz tarball: cd /your/www/directory tar xvzf tx.tgz .
- Follow-Ups:
- Re: [tlug] Uploading web files into the www
- From: stephen
- References:
- [tlug] Uploading web files into the www
- From: Forrest Nelson
Home | Main Index | Thread Index
- Prev by Date: [tlug] FC5 Sucks: firewire drive/videos
- Next by Date: Re: [tlug] FC5 Sucks: firewire drive/videos
- Previous by thread: Re: [tlug] Uploading web files into the www
- Next by thread: Re: [tlug] Uploading web files into the www
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links