LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2005, 08:55 PM   #1
Wha?Where?
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Rep: Reputation: 0
Opening bz2 files and also Samba


I have installed FC4 a few times - this time I thought maybe I would try something different... only installing the bare minimum... like LAMP and VNC so i can get a desktop from my windows compture and SSH for me to use Putty.

Anyway... I have the server rolling fine with LAMP/VNC/SSH... but when I get on there and download a file that is a .bz2 or any other compressed file I am used to the window popping up asking do i want to open it with something. Its as if I have no utility installed that is associated with the .bz2 files. How do I get my bz2 files to be associated with something.. how do i check to see if bzip2 is installed?

Next question... Samba
I have installed it and can see everything in the shares I have made - i have set the access to everyone and am using share permissions vs user but have it set to writeable and browseable.

[html]
path = /var/www/html
writeable = yes
browseable = yes

I want to be able to write files to this share - so i dont have to FTP etc my files during webdev. Should i CHOWN nobody /var/www/html
?
Seems its a permissions problem.
 
Old 10-12-2005, 09:23 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Bzip2 support is not part of a minimal install. It is a tiny program, but you do have to install it. You can find the rpm for that at http://rpmfind.net//linux/RPM/fedora...2-16.i386.html

I don't know samba, but the values you are playing with are for the website. You say you are doing webdevelopment, but I don't see what the association is between samba and the website. Why not use ftp? You should not have faulty permissions on the website, or when you move the sites to the "real" server things may break over permissions. Apache2 usually runs as www-data, so that should be the owner of the /var/www/html directory.

Peace,
JimBass
 
Old 10-13-2005, 03:12 PM   #3
Wha?Where?
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Ill try that. Thanks!

The deal with samba is I want to open the web files I am working on in something like Dreamweaver from a computer on my network... just easier for me to manipulate the files using Windows Explorer and not having to worry about an FTP client.
 
Old 10-13-2005, 03:22 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
if you are going to be doing this alot, maybe use a public_html dir as your website dir and point apache there. that way you can write directly there without changing permissions on directories
 
Old 10-18-2005, 06:44 AM   #5
Wha?Where?
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Original Poster
Rep: Reputation: 0
That sounds good. So then I can just move all my files into the /var/www/html dir repoint apache and im back to a secure site?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Files through shares on Samba hollovoid7 SUSE / openSUSE 2 11-21-2004 12:39 PM
Opening files via samba on Suse 9.2.... eliwood Linux - Newbie 4 08-29-2004 11:20 PM
Samba opening files timgerr Linux - Software 0 02-18-2004 12:56 PM
Samba, opening files slow / fast mnauta Linux - Networking 1 05-23-2003 06:37 PM
Opening .tar.bz2 files dominique Linux - Newbie 7 11-30-2001 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 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