Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-30-2006, 10:46 PM   #1
LQ Newbie
Registered: Jan 2006
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Restrict exe files inside an archive files in samba

Hi Guys,

How can i or is it possible to restrict exe files inside an archive files using veto parameters in samba? Thanks in advance.

Sorry guys if my english sucks! =)
Old 01-31-2006, 05:48 PM   #2
Registered: Nov 2005
Location: Detroit, Michigan -- USA
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
From my understanding, Samba does not override Linux permissions, so set your Linux permissions to how you would like them. Perhaps 0770?

To ensure that any files created inside your Samba share(s) have the same permissions, you'll want to enter this where appropriate in

create mask = 0770
directory mask = 0770

That should do it.

Old 02-02-2006, 05:07 AM   #3
LQ Newbie
Registered: Jan 2006
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply, create and directory mask can only change the permissions upon saving files on the shared folder. my objective is to restrict users to save .exe files in my samba and ive done this using "veto files" parameter but the problem is that there are some users trying to archive their exe files (e.g: .zip, .rar). thats why my question is if its possible to restrict exe files inside an archive file.

Sorry guys if my english sucks! =)


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
Squid proxy (1): how to restrict the files above 2MB -- please help me b:z Linux - Networking 8 04-22-2010 03:41 AM
restrict downloding mp3 files via mozilla. bruse Linux - Newbie 2 04-08-2006 02:52 PM
exe files? Cheechi Linux - Software 1 07-12-2004 11:48 PM
What Are files? kajensen Linux - General 1 09-21-2003 05:00 AM
Moving files into an archive gkep Linux - Newbie 2 07-27-2003 10:42 PM

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration