Re: Mounting a new file system at an existing Samba share

From: Justin Dieters <enderak@mtaonline.net>
Date: Thu Jul 28 2005 - 14:56:55 AKDT

Are you connecting as a guest, or with a username/password? If you are
connecting as a guest, permissions are based on the guest user. Check
to see if /home/shared and all subfolders/files are writable by guest.
You could even create some test files and give them mode 666 or 777
and/or set the owner to guest and see if you are allowed to edit/delete
those files.

All my users login with a name and password, but I recall having a
similar problem with mine which had to do with permissions when I set
mine up for the first time. Once I set all the directories to 777 and
all my files to 666 within the shared foler, it worked just fine.
(There's probably a more secure way to do this, so if someone wearing a
tin-foil hat wants to yell at me, feel free :) )

If you were able to read/write before, maybe the permission/owner got
reset when you copied the files?

Let me know if this doesn't work, I have Samba 3 on RedHat Enterprise 3
on the server at work, so I can see if poking around jogs my memory.

Regards,
Justin

Lauren Horn wrote:

>I have an FC3 server running Samba 3.0.10. /home/shared is a public
>share that was working fine until I tried to add a 250G drive to the
>mix. I moved all the files from /home/shared to the new drive (at a
>temporary mount point), then mounted the new drive at /home/shared.
>
>I can still see the files on the share, but it is now R/O! Does Samba
>have a problem sharing a mount point?
>
>Here, in case it's relevant, is my fstab. hdc1 is the new drive:
>
>LABEL=/ / ext3 defaults 1 1
>LABEL=/boot /boot ext2 defaults 1 2
>none /dev/pts devpts gid=5,mode=620 0 0
>none /dev/shm tmpfs defaults 0 0
>none /proc proc defaults 0 0
>none /sys sysfs defaults 0 0
>/dev/hda2 swap swap defaults 0 0
>/dev/hdc1 /home/shared ext3 defaults 1 2
>/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
>
>
>and here's the tail bit of samba.conf:
>
>[shared]
>comment = Public Shared Folder
>path = /home/shared
>browseable = yes
>writable = yes
>public = yes
>[root@gw samba]#
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>
>
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Jul 28 23:09:01 2005

This archive was generated by hypermail 2.1.8 : Thu Jul 28 2005 - 23:09:01 AKDT