LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Preventing MP3 files stored on NFS Server (https://www.linuxquestions.org/questions/linux-server-73/preventing-mp3-files-stored-on-nfs-server-774365/)

paul_hap 12-08-2009 09:41 PM

Preventing MP3 files stored on NFS Server
 
Hello,

Is it possible to prevent mp3 or any multimedia files stored on NFS Server ?

Thank you for your help

Paul

chrism01 12-09-2009 12:34 AM

AFAIK, there's no umask for filenames, so if someone has write access, they can store anything they want.
You'd have to write a script to run from root cron to remove those files. To be safe, don't rely on file extensions; these are optional in *nix. Use the 'file' cmd to check the content.


All times are GMT -5. The time now is 11:52 AM.