DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-09-16 17:39:28

reisrui
New member
Registered: 2010-01-14
Posts: 3

Folder not under Volume1

Hello there,

Iīm relatively new to managing DNS-323...

I did create some shared folders and users with restricted access to them. OK.

Now it seems that someone (?) created a folder right next to "Volume1" folder that it canīt be accessed... not under "Volume1".
This user says that folder should have some data, but I donīt know...
When trying to manage users, folders, it only allows you to choose a folder under "Volume1" right!!!

When in win explorer I try to open that folder paralell to Volume1 it pops a user and pw box, in which the user is already filled with "guest" and I canīt change it...

How can I access this folder? Should I install funplug to try over telnet? Is it secure?

Offline

 

#2 2010-09-17 00:36:21

chriso
Member
Registered: 2009-03-29
Posts: 74

Re: Folder not under Volume1

When you create a share for say: Volume_1/test it will show up on the DNS-323 as a share/folder "test".  In other words a share always appears at the top level.  The DNS-323 GUI doesn't allow you to give the share a name other then what the directory name is.

As in the user of share test doesn't know where it is (It could be Volume_1\XXX\test for all they know), to them it is \\DLink-NAS\test  (Which is the same as a folder under DLink-NAS under Network in the Windows Explorer).

Provided DLink-NAS is what you named your DNS-323.

If you don't have access to this folder it is because you didn't give your user account access to that share.

Last edited by chriso (2010-09-17 00:54:43)

Offline

 

#3 2010-09-17 12:01:32

reisrui
New member
Registered: 2010-01-14
Posts: 3

Re: Folder not under Volume1

I think I didnīt explain it well...
Imagine my DNS-323 is named backup

When in windows explorer I go to \\backup I see a folder named 'npedro' (the one we canīt access) and also the folder 'Volume1' with all the data inside.
When in GUI, assigninh users to folders, it doesnīt let you choose that 'npedro' folder, it only allows you to assign access under 'Volume1' folder!!!
So, problem is how can I access that folder in the root of my \\backup

Offline

 

#4 2010-09-17 12:42:18

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Folder not under Volume1

what Firmware version are you using? If I'm not mistaken, after 1.08 you can no longer mix anonymous shares with user permissions shares:
http://forums.dlink.com/index.php?topic=11422.0

Last edited by scaramanga (2010-09-17 12:48:31)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#5 2010-09-17 12:58:09

reisrui
New member
Registered: 2010-01-14
Posts: 3

Re: Folder not under Volume1

Iīm using 1.07

Do you advise installing funplug? Will I then be able to access directly to the folder?

Offline

 

#6 2010-09-17 13:11:31

chriso
Member
Registered: 2009-03-29
Posts: 74

Re: Folder not under Volume1

OK lets take another shot at explaining this.  Taking the name of your DNS-323 as "backup".

First there is the path to the folder on the DNS-323 GUI.
In the GUI that path will always start with either Volume_1 or Volume_2 (if you have a second drive in the DNS-323).
Below I used an example with XXX in the path, I threw it in just so you know that where the "Test" folder is in the path doesn't matter, in the examples below you could easily have Volume_1\Test instead of Volume_1\XXX\Test.

So lets say we want to share out Volume_1\XXX\Test  (Just the Test folder and below).
In the Folder: we would use the Browse button and select Volume_1\XXX\Test
And in the Folder text box it would show Volume_1\XXX\Test  (This is the path the DNS-323 uses)

We select any of the options (Like what users/groups have access to it) and save the settings:

It is now shown in the SMB list (you can edit it by clicking on the icon with a paper with a pencil on it).
And the SMB list has:
Volume_1 ...
Volume_1/XXX/Test ...

Now lets talk about shares in general.  When a machine shares out a folder, the share is given a name (not the real path) and that share name is always at the top.   In other words in UNC syntax:  \\MACHINE_NAME\SHARE\sub-folders.  Shares are always under \\MACHINE_NAME no matter what the physical path is to that folder on the machine that is sharing it out.

The GUI of the DNS-323 doesn't give you a choice of what the share name is (internally it could be different), it just makes the share name the same as the name of the folder you are sharing, in this case Test (so if you tried to share out Volume_1\XXX\Test and Volume_1\YYY\Test you would have a problem).

Now say you go to a Windows machine and with Windows Explorer and browse to Network, open it and see "backup", and you open it, you will see Volume_1 and Test folders, and both them will have "Share" in gray on them.

You have both because of the two entries in the SMB list.  Lets say you have read access to the Test share and not the Volume_1 share, what will you see.  If you try to browse Volume_1 it won't let you see anything in it.  But if you browse to the Test share and open it, you will be able to see what is in it, and in folders below.

Lets say now you have read access to Volume_1, are you going to see the Test folder when you open the Volume_1 share?  Yes because it is under that folder.  But here is the difference.  The first person gets to that folder with the path:
\\backup\Test

And the second gets at with:
\\backup\Volume_1\Test

And it matters, because depending on what permissions you give to each share and which path you use will determine if you have no access, read access, or read/write access.  It is the share you pass through in your path that determines the permissions you will get.  Note in \\backup\Volume_1\Test Volume_1 is the share, and Test is just a sub folder it is not a share.

There is nothing special about the Volume_1 share except that it is created by default so that you can access your drive when you first start using the DNS-323.  If you went into the DNS-323 GUI and deleted the Volume_1 share (the trash can icon on that line in the SMB list).  \\backup\Volume_1 would disappear when you browse for it on the Windows machine, but the Test share would still be there, because you didn't delete that share.

Needless to say if you give read/write access to Volume_1 share to everyone then you aren't blocking them from doing any thing to any folder, even though they might be a bit surprised that depending on how the browse to the file (through the different shares) they get different permissions.

So I hope by this you realize that if you want to change the permissions for \\backup\npedro you would change the permissions for Volume1\npedro in the DNS-323 GUI.

Last edited by chriso (2010-09-17 14:07:42)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB