LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2007, 03:27 PM   #1
TeddyB
LQ Newbie
 
Registered: Oct 2007
Location: Cleveland, OH
Distribution: Debian Etch, Knoppix for troubleshooting
Posts: 17
Blog Entries: 1

Rep: Reputation: 2
Samba, Upgrade to Write Capabilities...


Hi;

I'm running my personal computer as a file server on our LAN. Now not all of the users on this LAN run Linux. Several machines are Win XP. I have my system sharing files with write capabilities. But that means that even when a user is browsing the files, XP is allowed to go in and put those pesky thumbs.db files in all my folders. which is just ANNOYING! Now a solution to this, I think is to make the user have read-only privileges unless they intend to write to the drive. thus preventing XP from doing it on it's own.

Now one way I could accomplish this is to change the smb.conf file to allow network logins that aren't local user names. Then have two separate logins. A restricted and a writeable, at least I believe I can do that.

The pain I see in this is that the user would have to know in advance wether they where to write to the drive. because the license seems to stick as long as both the server and the client machine are on the network. therefore changing the log-in because you want to write. then changing back when your done. just seems messy...

What I would prefer is to have the samba login read-only and then if the user attempts to write to the drive, prompt for a write password. then drop back to read mode after write is complete.

Otherwise it would be nice if I could just tell my server to not allow any files to be written with the name "Thumbs.db"

I don't know, but I do know I can't control weather thumbnail caching is enabled on every XP computer my file system comes in contact with, and I am getting tired of deleting the lil' bastards.....

Any Ideas?
Thanks;
Teddy B
 
Old 10-11-2007, 08:02 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could veto "Thumbs.db".
 
Old 10-11-2007, 02:08 PM   #3
TeddyB
LQ Newbie
 
Registered: Oct 2007
Location: Cleveland, OH
Distribution: Debian Etch, Knoppix for troubleshooting
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 2
I actually like the Idea of blocking the file name from being created in the system all together, but I have absolutely no idea how to go about doing that. you have any suggestions or maybe some documentation I can follow up on??

Thanks
TeddyB
 
Old 10-11-2007, 06:01 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that is what a veto file definition will do. It is often used by universities to prevent mp3 files from being saved on their servers.

Look at the manpage for "smb.conf" and search for the word veto.

Also, look into windows policies. There may be something about preventing indexing of networked shares.

http://wiki.samba.org/index.php/Impl...ies_with_Samba

Last edited by jschiwal; 10-11-2007 at 06:04 PM.
 
  


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
Samba can't write air_kimkim Fedora 6 01-11-2007 03:16 PM
Why can I not write to a SAMBA share when read/write is enabled? eric m Linux - General 4 08-21-2006 09:22 PM
samba won't let me write =/ snip128 Linux - Networking 1 01-18-2005 09:14 AM
samba can't write wesleywest Linux - Newbie 3 11-11-2004 06:40 PM
cannot get write permissions for /home and subfolders after upgrade repeater75 Linux - General 4 02-22-2004 10:24 PM

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

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