Snapshots - permissions - CIFS - restore previous version from Windows 7

Status
Not open for further replies.

leighwebber

Cadet
Joined
Aug 31, 2011
Messages
3
FreeNAS-8.0.1-RC2-amd64 (7813), 8 GB RAM.

Problem: On a Windows 7 machine, in Windows Explorer I right-click a file (\\snrst003\FileServer\DASDOCS\1990\90-1164doc Articles of Termination (signed).pdf) and choose "restore a previous version". The [filename] properties box pops up, and I can see:

Earlier this year(1)
1990

When I double-click on 1990, I get an error message:

\\snrst003\FileServer\@GMT-2011.10.10-13.30.00\DASDOCS\1990\90-1164doc Articles of Termination (signed).pdf refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. [blah, blah]

So I'm thinking it's a permissions problem. Here is my configuration in detail:

I have a zfs volume called /mnt/VolA/FileServer, with permissions set as follows:

Owner (user): DUNLAP\administrator
Owner (group): DUNLAP\domain admins
Mode (all boxes checked)
Type of ACL: Windows
Set permissions recursively: checked

I have a Windows Share called FileServer:
Path: /mnt/VolA/FileServer
Export read only: unchecked
Browsable to network clients: checked
Inherit permissions: checked
Export recycle bin: checked
Show hidden files: checked
Guest account: www
Allow guest access: unchecked
Hosts allow: (empty)
Hosts deny: (empty)
Auxiliary parameters: (empty)

CIFS settings:
Authentication model: local user
NETBIOS name: SNRST003
Workgroup: DUNLAP
Description: FreeNAS server
DOS charset: CP437
UNIX charset: UTF-8
Log level: minimum
Local Master: checked
Time Server for Domain: unchecked
Guest account: www
Allow guest access: unchecked
Only allow guest access: unchecked
File mask: (empty)
Directory mask: (empty)
Large RW support: checked
Send files with sendfile(2): checked
EA Support: checked
Support DOS File Attributes: checked
Allow Empty Password: unchecked
Auxiliary parameters: (empty)
Enable home directories: unchecked
Enable home directories browsing: unchecked
Home directories: (empty)
Enable AIO: checked
Minimum AIO read size: 1
Minimum AIO write size: 1

In PuTTY, I see the following:

[root@SNRST003] /mnt/VolA/FileServer/.zfs# ls -l
total 4
dr-xr-xr-x 4 root wheel 4 Sep 29 21:41 ./
drwxr-xr-x 4 DUNLAP\administr DUNLAP\domain ad 5 Sep 30 16:44 ../
dr-xr-xr-x 2 root wheel 2 Sep 29 21:41 shares/
dr-xr-xr-x 938 root wheel 938 Sep 29 21:41 snapshot/

What do I need to do to allow users to restore previous versions of files?
 

leighwebber

Cadet
Joined
Aug 31, 2011
Messages
3
[Blush]

I should not have double-clicked the entry in the [filename] properties dialog. I should have simply clicked on the entry and then clicked the Restore button. When I do that, it works perfectly.

Well, now that the cause of the problem has been identified (my ineptitude) -- anyone have any comments on my configuration? Anything I should tweak? I do notice that trying to restore a previous version of a directory results in a "Searching for previous versions..." that seems to take forever. Is that normal?
 
Status
Not open for further replies.
Top