LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-12-2005, 02:45 PM   #1
rpg2
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
My samba share is blocking specific extensions.


Before I start with the explanation of my issue, please note, I am completely new to Linux. That having been said, I know this about my situation.

1. It's a Debain Linux box I'm having the issue on.
2. When you connect to the samba share, it allows you to copy anything except .sql and .ph files.
3. In the smb.conf (I verified this is the file samba is using for it's config) there is no veto.

Where else could samba exclude certain files from being copied to one of it's shares?

I don't know if I've given enough information about this issue, but if you need more info, let me know. Please let me know how to get the info though.

Thanks,
Randy
 
Old 04-12-2005, 09:47 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Are the file permissions/ownership any different from other files in the share? How big is the file? If you rename a file that currently does transfer and give it a .sql extension, will it block the transfer?
 
Old 04-13-2005, 09:57 AM   #3
rpg2
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
The files I'm trying to copy are coming from the same directory on the same Windows box with the same permissions. They are going to the same directory on the Linux box. I set the permission to RWX for everyone on the Linux box. Still the same thing. Anything but .sql and .php will copy. The google research I did led me to believe it was an issue with veto because only specific file types are being blocked. But, as I said there is no veto set in the smb.conf

The file size does not matter. I have tested this with something only 1k up to several Megs in size.

I created a new .txt file on the Windows box and I can transfer that, but if the same file is renamed to .sql on the Windows box then transferred to the Linux box it fails. If you create a new file on the Linux box then rename it to .sql on the Linux box it works.

Also, if you zip up the files then uncompress them on the Linux box they transer that way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Blocking Specific Programs from Network Access? Trip in VA Linux - Newbie 23 08-06-2006 02:47 PM
iptables: blocking something.com for specific time farhan Linux - Security 2 06-11-2005 10:15 AM
Blocking Traffic on a specific port (kazaa) GratePayne Linux - Security 4 05-09-2004 09:10 AM
Blocking ports for a specific IP Shrimpy Linux - Networking 1 12-23-2002 11:48 AM
QMail and blocking specific extensions Rob de Jong Linux - General 1 05-01-2002 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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