LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2009, 02:56 AM   #1
sumitrai
LQ Newbie
 
Registered: Aug 2009
Posts: 9

Rep: Reputation: 0
file server on linux


hi guyss...

i m thinking of shifting my file server on linux....n i m nt able to block mp3 files and .extension files being copied from the file server.
plls help...
 
Old 08-14-2009, 05:58 AM   #2
kofucii
Member
 
Registered: May 2007
Location: Bulgaria
Distribution: Slackware, SCO Unix
Posts: 62

Rep: Reputation: 20
Can't you change the read/write permissions?
 
Old 08-14-2009, 09:10 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
sumitrai,

Query: "i m thinking of shifting my file server on linux....n i m nt able to block mp3 files and .extension files being copied from the file server.
plls help..."


One way:
Put these files into a directory, then set permission of that directory into exclusive: do this--

user@host--$: mkdir mymp3
user@host--$: chmod 700 ./mymp3

that way you alone can open the directory and read its contents. BTW, reload services in order for new permission to take effect.

Another way
:
Do not share those files, exclude them from the shared folders.

--------x

Hope this helps.

good luck.

Last edited by malekmustaq; 08-14-2009 at 09:14 AM.
 
  


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
Linux File Server and SMB file server mudasir Linux - Server 5 04-08-2009 12:00 AM
Long file names on Linux file server jumbled when opening on 16-bit PC program. brandonhughesj General 3 03-04-2009 08:53 AM
Windows file permissions with a Linux file server joseph_k Linux - Server 3 05-09-2008 01:54 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM


All times are GMT -5. The time now is 01:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration