LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-05-2015, 10:13 PM   #1
shanmomo
LQ Newbie
 
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
Samba with veto files


Hi,

I'm trying to restrict users from saving movie files / audio files into the samba file shared with veto files.

With this configured, I'm having issue with saving Ms Office files into the shared folder.

when trying to save the Ms Excel for example, it will prompt, "xxx file cannot be found. Check your spelling, or try a different path".
No issue with other application.

Once I remove the veto files config, we can save the file directly from Ms Office application.

Any idea how can I restrict the file types without affecting Ms Office application?

Regards

Shan
 
Old 05-07-2015, 09:34 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by shanmomo View Post
Hi,

I'm trying to restrict users from saving movie files / audio files into the samba file shared with veto files.

With this configured, I'm having issue with saving Ms Office files into the shared folder.

when trying to save the Ms Excel for example, it will prompt, "xxx file cannot be found. Check your spelling, or try a different path".
No issue with other application.

Once I remove the veto files config, we can save the file directly from Ms Office application.

Any idea how can I restrict the file types without affecting Ms Office application?

Regards

Shan
Code:
veto files = /*.3gb/*.avi/*.m2v/*.m4v/*.mj2/*.mov/*.mp4/*.mpg/*.mpeg/*.mxf/*.stp/*.trp/*.ts/*.uyvy/*.vob/*.vyuy/*.wmv/*.yuv/*.mp3/*.flac/*.wav/*.midi/*.aud/*.au/*.mod/
This works and has been tested.

Are you trying to place documents which contain video and audio? if so make sure your working directory is not the share, Office is special and probably stores the contents temporarily in a hidden folder while embedding the content and it fails because of the veto.

Last edited by /dev/random; 05-07-2015 at 09:39 AM.
 
Old 05-07-2015, 04:02 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
but by just removing the file extension ( not needed anyway )
will null and void that veto list


you do NOT need that .wmv on the end of a "Windows Media Video" it is likely a "asf" file anyway
 
  


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
veto file in samba cnt Linux - Server 2 07-08-2018 10:14 PM
Samba veto-files option on an absolute path? fmillion Linux - Server 0 11-12-2011 02:19 AM
Samba veto files alexsil Linux - Newbie 0 03-10-2011 03:04 PM
LXer: Google fights the Hollywood tech veto LXer Syndicated Linux News 0 05-21-2010 07:00 AM
Samba - Veto Help Dmjmusser Linux - Networking 3 02-07-2006 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:49 AM.

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