LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-15-2004, 02:45 PM   #1
tsigo
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Need help to plan permissions for a fileserver


This has been causing me a few headaches lately, so hopefully someone can help me out.

I have a fileserver that has 4 hard drives mounted as directories in /fileserver. Their permissions are:

Code:
drwxr-xr-x    6 root     root         4.0K Oct  3  2003 fileserver

$ ls -alh /fileserver/
drwxr-xr-x    5 root     root         4.0K Mar 23 19:44 hdb
drwxr-xr-x    5 root     root         4.0K Nov  1 19:05 hdc
drwxr-xr-x   10 root     root         4.0K Apr 12 11:46 hdd
drwxr-xr-x    6 root     root         4.0K Mar 30 21:34 hde
Their entries in /etc/fstab:

Code:
/dev/hdb                /fileserver/hdb ext3            noatime                 0 0
/dev/hdc                /fileserver/hdc ext3            noatime                 0 0
/dev/hdd                /fileserver/hdd ext3            noatime                 0 0
/dev/hde                /fileserver/hde ext3            noatime                 0 0
I plan to make 3 of them into a single RAID-0 drive in the future, but that's another post. Now in Samba I create a share, "Fileserver" as follows:

Code:
[fileserver]
        force create mode = 777
        comment = Fileserver
        writeable = yes
        create mode = 777
        path = /fileserver/hdd
        force directory mode = 777
        directory mode = 777
/fileserver/hdd contains symlinks to other directories on the other drives.

As you might be able to tell, I want anyone on my LAN to be able to mount the share and have full read/write access without having to log in or have an account. Now, even with logging in as it is now, I get permission errors when I try to write to the share. Is this because the actual directories are owned by root? I thought Samba would override that.

Basically what I'm asking is how do I need to set it up so that local computers can mount the /fileserver/hdd share and have full read/write access without an account?

Also if people want to share their fileserver setups I'd be interested in that as well.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best plan of attack? juvestar15 Linux - Newbie 17 08-26-2005 11:53 PM
Gateway Plan jamesbb Linux - Networking 1 10-21-2004 01:50 AM
My Transition to Linux Plan. rvijay Linux - Newbie 7 08-24-2003 10:12 PM
.plan file sandy Linux - General 2 09-11-2002 07:14 AM
partition plan Serena Linux - General 0 04-21-2002 12:24 PM


All times are GMT -5. The time now is 08:50 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration