LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-23-2008, 03:19 PM   #1
dutchboysais
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Making drive read write


I have a hard disk on my ubuntu 7.1 server that I use as a public backup. I share the drive with samba and to allow users to see the drive i have to chmod -R it as root almost once an hour.

fstab entry:

/dev/hdb1 /backup ext3 defaults 0 0

The samba config:

[Backup]
comment = Public Backup Folder
path = /backup/public
write list = user
public = yes
readonly = No
writeable = yes
browseable = yes
create mask = 0700
directory mask = 0700

Thanks
JR
 
Old 05-24-2008, 12:30 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
So the problem is that files are being created by various users and the permissions are starting to conflict?

Is there a reason you need individual users? If not, you could simply use the "force user" option to make all connections appear to come from a specific user.
 
Old 05-25-2008, 08:35 AM   #3
dutchboysais
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply.

I also should have said that I have sbackup running as root backing up my server to this drive as well. But I know why I have this problem now. Any ideas on how to fix it? Would changing the destination folder for the server backup from the root of the drive to a subdirectory work?
 
  


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
Problem mounting drive read/write abefroman Linux - Software 5 01-31-2006 10:30 PM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM
Mounting an NTSC Drive for read and write africamagical Linux - Newbie 2 11-20-2004 01:39 AM
Mounting Drive Read-Write for PHP HappyDude Linux - Software 0 09-04-2004 07:19 PM
Making a Windows partition read/write for all users d1v1d38yz3r0 Linux - Newbie 2 12-08-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:02 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