LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   samba + remote mount (https://www.linuxquestions.org/questions/linux-server-73/samba-remote-mount-659239/)

eliufoo 07-30-2008 07:25 AM

samba + remote mount
 
Hi guys,

I need your assistance in the following setup. I have a network hard drive (hp media vault) with a capacity of 1tb. I want mount it on fc4 and share the hdd through Samba.

My problem:
I can mount the hdd has root on the linux server with:-
Quote:

mount -w //192.168.0.5/share /mnt/share
But, the directory is mounted with permission 755, user & group is root. Samba or local users don't have right permission.

I tried the following with no luck:
Quote:

1. chmod -R /mnt/share
2. chown -R root:users /mnt/share
3. chown -R nobody:nobody /mnt/share
Please help...

Thanks,

camorri 07-30-2008 07:47 AM

If I understand what you have posted, you are trying to share a remote disk ( media vault ) using samba.

As I understand a media vault has a windoze OS, so I would have to guess that means an NTFS file system. I don't believe you can change permissions on a NTFS file system from linux.

Is there no way to get into the media vault, and make the share there? Why use Samba at all, other than to mount the drive(s) to share to the linux system?

eliufoo 07-30-2008 08:41 AM

You understood me correct.

Quote:

Is there no way to get into the media vault, and make the share there? Why use Samba at all, other than to mount the drive(s) to share to the linux system?
I didn't understand you here.

I'm using samba cause of Windows machine on the network.I'm also mounting the drive(s) on linux before sharing it on Samba.

Will look for an alternative.

Thanks,

camorri 07-30-2008 09:06 AM

The intent of Samba server is to share local partitions and files. The problem is samba can not control read and write permissions on another system. I think you need to share the media vault from that system, to your network.

Samba client mounts remote shares, that is working.


All times are GMT -5. The time now is 12:54 AM.