Samba - veto on home folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

How can I use the veto option for the user, such that users could not
save *.mp3 files in there home folder.
My home folder part of conf file is as follows :


[homes]
	revalidate = yes
	comment = Home Directories
	writeable = yes
        veto files =
/*.deb/*.rpm/*.mp3/*.mp4/*.dat/*.mpg/*.mpeg/*.avi/*.wmv/*.iso/*.nrg/*.bin/*.cue/*.exe/*.msi/*.dll/*.pif/*.scr/*.ini/*.bat/*.com/*.cmd/*.vb/*.vbs/*.inf/*.3gp/*.mov/*.rar/*.flv/DSC*.jpg/DSC*.jpeg/
        delete veto files = yes
	valid users = MYDOMAIN\%S


But still user can copy mp3 files in there home folders, than I added
the veto option in global section also as follows :

[global]
         server string = new databank
         smb passwd file = /etc/samba/smbpasswd
         passdb backend = tdbsam
         log file = /var/log/samba/log.%m
         max log size = 50
         delete veto files = Yes
         veto files =
/*.deb/*.rpm/*.mp3/*.mp4/*.dat/*.mpg/*.mpeg/*.avi/*.wmv/*.iso/*.nrg/*.bin/*.cue/*.exe/*.msi/*.dll/*.pif/*.scr/*.ini/*.bat/*.com/*.cmd/*.vb/*.vbs/*.inf/*.3gp/*.mov/*.rar/*.flv/DSC*.jpg/DSC*.jpeg/



Can anybody help me how to restrict users from saving mp3 files in
there home folders .......................

Arun

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux