Buffalo Forums

Products => Storage => Topic started by: cwfox on February 18, 2009, 02:01:56 PM

Title: TS-RHTGL/R5 F/W 1.33 NFS mount ownership problems
Post by: cwfox on February 18, 2009, 02:01:56 PM
   

We are trying to mount an NFS share from our Terastation Pro on a CentOS 5.2 linux box. Authentication is setup to use "Delegate Authority to External SMB Server", but when mounting the share, all file ownership is shown as nobody:nobody. How do we resolve the ownership issues?

 

Best Regards,

Camron

Title: Re: TS-RHTGL/R5 F/W 1.33 NFS mount ownership problems
Post by: kevin on February 18, 2009, 08:26:42 PM
Since Your using "Delegate Authority to External SMB", have you tried to access the users folder so that the TS can pull those credentials? And then try logging in.
Message Edited by kevin on 02-18-2009 08:27 PM
Title: Re: TS-RHTGL/R5 F/W 1.33 NFS mount ownership problems
Post by: cwfox on February 19, 2009, 02:25:03 PM
   

No. We have done the following:

 

1. Setup auth as previously described.

2. Created shared folder "Backups" with *no* Windows/Apple /FTP/Disk Backup support, *with* Shared Folder Attributes Read/Write.

3. Allowed the Backups shared folder to be used as an NFS Shared folder.

4  Mount the folder on a the linux box (note that directory permissions are 777 after the mount, allowing anyone to do anything):

 

 [root@hiloii ~]# ls -ld /mnt
drwxr-xr-x 2 root root 4096 Mar 29  2007 /mnt
[root@hiloii ~]# mount 10.157.249.9:/mnt/array1/Backups /mnt
[root@hiloii ~]# ls -ld /mnt
drwxrwxrwx 2 root root 6 Feb 18 16:18 /mnt

[root@hiloii ~]# chmod 755 /mnt
chmod: changing permissions of `mnt': Operation not permitted
[root@hiloii ~]# ls -la /mnt
total 8
drwxrwxrwx  2 root root    6 Feb 18 16:18 .
drwxr-xr-x 29 root root 4096 Dec 11 11:03 ..
[root@hiloii ~]#

 

5. Create files by a known Samba user:

 

 [root@hiloii ~]# grep cwfox /etc/samba/smbpasswd
cwfox:6015:<SNIP>

[root@hiloii ~]#

 

 [cwfox@hiloii /]$ cd /mnt
[cwfox@hiloii mnt]$ ls -l
total 0
[cwfox@hiloii mnt]$ touch foo
[cwfox@hiloii mnt]$ ls -l
total 0
-rw-r--r-- 1 nobody nobody 0 Feb 19 10:20 foo
[cwfox@hiloii mnt]$ sudo chown cwfox foo
chown: changing ownership of `foo': Operation not permitted
[cwfox@hiloii mnt]$ rm foo
[cwfox@hiloii mnt]$ ls -l
total 0
[cwfox@hiloii mnt]$

 

Samba logs show no connections from the Terastation for auth. Hope this clarifies things.

 

Best Regards,

Camron

Title: Re: TS-RHTGL/R5 F/W 1.33 NFS mount ownership problems
Post by: krasny on January 14, 2010, 09:32:17 AM
   

You can't, read those post:

 

http://forums.buffalotech.com/t5/Storage/Permissions-on-NFS-share-with-TeraStation-Pro-Rackmount/m-p/24521#M19427

 

http://forums.buffalotech.com/t5/Storage/no-root-squash/m-p/15509/highlight/true#M12844

 

Please please please, buffalo, resolve this issue!

Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 60 (show)
Files included: 27 - 1055KB. (show)
Memory used: 733KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]