D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: natsnot on September 02, 2008, 11:40:11 AM
-
Hello,
I do have a solid background in networking and am hoping someone can help me resolve what should be a simple file sharing and security issue.
My DNS-323 has been on my home business network for well over a year now without any problems. I do share my broadband connection with neighbors and have many sensitive business and financial files stored on this NAS by this time. It took me several days to backup the entire contents, I upgraded to firmware v1.05 today in hopes it would help resolve this, but no such good fortune.
I created a couple public folders for music and other files I DO share with my neighbor, then created a group that currently has two users in it, my wife and I. I gave only this group read/write permissions to the default Volume_1 and mapped drives on our computers by using the "login with a different name" feature to enter our login credentials.
Everything looks good at this point and we can access the data, but office files (docs and spreadsheets) are not accessible and I receive the message I put in the subject of this message, "user doesn not have access privileges".
For some reason, I am able to access older office files and I'm not sure if they were created using a different version of MS Office or if they were simply created at a specific point in time before some network change caused files after that to inherit permissions of some sort from the DNS-323 for instance.
Until now, I kept all of the files accessible to "All". I sure would appreciate some help here, I have a LOT of work to do and am wasting a ton of time trying to get this resolved.
Thanks!
Stan
-
Hi,
I think that is a problem related to user/group permissions.....have similar problem here, and I solved installing fun_plug on NAS, then I access the box via telnet and change permissions using chmod command.... After that only my user have access to a special folder with sensitive information.....
Hope that help !!
-
This is the first I've been able to get back here to see if someone had suggestions and WOW! Thanks ehorher, I'll get that setup in a while and I am very grateful to learn I can use some third party software/scripts to manipulate my network more like I want it set up.
I'm sure it will work just fine and I'll get it setup in a while, thanks again!
Stan
-
Do you only see these permission issues with files created by the MS Office software? Do other files in this folder have the same problem when trying to access them from another user?
-
I just upgraded to Vista from XP. I receive the same issues will a variety of files JPG/DOC/PDF etc. I installed the telnet server FFD but I am uncertain how to use the commands to change the file permissions to reset for everyone to have full access.
-
fixed it...for anyone who like me couldn't figure it out
Step 1 - Install Telnet Server
Just unpack the file funplug-0.4.tar.gz with Winrar (dont' use winzip) and copy files to first volume of NAS then reboot.
Step 2 - Install Client
You can use XP's or Vista's built in client. in Vista the client will need to be installed via [Control Panel\Programs] then click on [Turn Windows features on and off]
Alternatively you can always download a free client from the web.
Step 3 - Telnet
Maneuver to the directory in question and type the following:
chown [OWNERNAME]:[GROUPIFANY] -R "DIRECTORY"
example:
chown Larry -R "Movies and Music"
Notes:
1) Using quotes will allow for spaces in directory names and you don't have to use the full directory structure. You can just type in the folder in your current directory and the -R will apply the new ownership to all subdirectories.
2) Unix commands for navigating and all else can be found by searching the web or going here: http://en.wikipedia.org/wiki/List_of_Unix_programs (http://en.wikipedia.org/wiki/List_of_Unix_programs) The following example will show which file is owned by whom - example: ls -l
3) In case your stuck press TAB twice and a list of commands will appear
4) Another Hint: if you start typing a partial directory name and press TAB it will fill out the rest of the directory. Should there be a couple with the sanem starting letters press TAB again to see a list of the other directories.
Need more help...send private message:)
Cheers!
Lucid
-
Thanks that worked.
Is there any security risk for setting the BT folder permission to 777?
-
Out of my jurisdiction:) Maybe the MOD Squad has an answer.
-
Well your BT folder would be available to anyone on your network.
-
Out of my jurisdiction:) Maybe the MOD Squad has an answer.
Avoid direct links to hacks for the box on official forums. Regardless of how easy it is to implement it opens a whole world of things that can go wrong and we will no longer be able to support them because of the third party changes to the functionality of our device.
-
Whoops..Sorry I should have know better.
Cheers!
Lucid.
-
....that and funplug 0.4 (2007-Nov-11) is very old. 0.5 (2008-Oct-10) is much newer. I won't link, but if you Google funplug and 0.5, I'm sure you'll figure it out.
-
Wow, lucky I found this thread, and thankfully with lucid's post I was out of a tight spot. So what is the official word D-Link? I had the same permissions(or lack thereof) issue with a visio 07 file opened/working directly on the 323... The next time I tried to access it, "Access denied" my heart skipped a beat, I had so much work into it.
I guess this is a no-no? Work on the file, then copy to the NAS? I have firmware 1.03. This could be a very serious issue for some users. Please advise.
BTW I applaud the D-Link folks behind hosting such a board, it's dangerous and often frustrating ground for vendors(ask me how I know that ha), but it's already saved me when the tech support line couldn't.
Thanks,
Jim
-
this worked for me.
http://forums.dlink.com/index.php?topic=5294.msg30991#msg30991
-
Funny, I just ran into this issue again....I found my UNIX command instructions a little weak so to simplify things....
If you have a directory that you cannot access at all and after you are able to successfully telnet into the box:
For example Let say you cannot see pictures in your photo directory. Your Directory structure is as follows:
Structure - example structure of folders
[Volume 1]/Multimedia/Photos/2001/[etc]
[Volume 1]/Multimedia/Photos/2002/[etc]
[Volume 1]/Multimedia/Photos/2003/[etc]
[Volume 1]/Multimedia/Photos/2004/[etc]
[Volume 1]/Multimedia/Videos/
[Volume 1]/Multimedia/Family/
So if your "Family" and "Videos" directories are accessable but NOT Photos and all it's subdirectories the fastest command to use will be:
Step 1
Navigate to the Volume and directory in question:
To goto the root type:
cd ..
then navigate (in respect to my own example)
cd HD_a2
to list contents type:
ls
Keep doing this until you navigate to the directory in question. If you already know the entire directory path you need to take you can type:
cd HD_A2/Multimedia
Step 2
Once in the parent directory (in this case Multimedia) type the following:
chown -R nobody
This changes all the files and directories under Photos to NOBODY - giving full access to everyone.
On another note...I woudl first try the easiest solution which is reseting the DNS-323 through it's web interface [Tools/System/ then click Restore button]. This helped me fix the bulk of the files that had been locked up but I still found quite a few files that I couldn't access at all again which made me go back to this instructions above.
Cheers!
Lucid
-
You can shorten all that into one command if you know the path. Just telnet in and run the command from the default prompt. You can even put it into a script on cronjob to run automatically.
For example:
chown -R nobody /mnt/HD_a2/multimedia