News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

TS-RHTGL/R5 F/W 1.33 NFS mount ownership problems

Started by cwfox, February 18, 2009, 02:01:56 PM

Previous topic - Next topic

cwfox

   

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


kevin

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

cwfox

   

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



Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 170 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1034KB.
Tokens: post-login.
Queries used: 16.

[Show Queries]