• February 27, 2025, 01:07:41 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2

Author Topic: "user does not have access privileges" problem  (Read 21007 times)

natsnot

  • Guest
"user does not have access privileges" problem
« 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
Logged

ehorher

  • Level 1 Member
  • *
  • Posts: 1
Re: "user does not have access privileges" problem
« Reply #1 on: September 02, 2008, 09:44:29 PM »

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 !!

Logged

natsnot

  • Guest
Re: "user does not have access privileges" problem
« Reply #2 on: September 03, 2008, 11:04:15 AM »

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
Logged

ECF

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2692
Re: "user does not have access privileges" problem
« Reply #3 on: September 04, 2008, 08:37:54 AM »

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?
Logged
Never forget that only dead fish swim with the stream

Lucid

  • Level 3 Member
  • ***
  • Posts: 139
Re: "user does not have access privileges" problem
« Reply #4 on: September 08, 2008, 09:15:03 AM »

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.
Logged

Lucid

  • Level 3 Member
  • ***
  • Posts: 139
Re: "user does not have access privileges" problem
« Reply #5 on: September 10, 2008, 10:14:06 AM »

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 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
« Last Edit: December 29, 2008, 02:58:05 PM by D-Link Multimedia »
Logged

iancuct

  • Guest
Re: "user does not have access privileges" problem
« Reply #6 on: December 06, 2008, 10:27:30 PM »

Thanks that worked.

Is there any security risk for setting the BT folder permission to 777?
Logged

Lucid

  • Level 3 Member
  • ***
  • Posts: 139
Re: "user does not have access privileges" problem
« Reply #7 on: December 06, 2008, 11:27:54 PM »

Out of my jurisdiction:) Maybe the MOD Squad has an answer.
Logged

ECF

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2692
Re: "user does not have access privileges" problem
« Reply #8 on: December 29, 2008, 02:17:13 PM »

Well your BT folder would be available to anyone on your network.
Logged
Never forget that only dead fish swim with the stream

D-Link Multimedia

  • Poweruser
  • Level 7 Member
  • **
  • Posts: 1066
    • D-link Systems, Inc.
Re: "user does not have access privileges" problem
« Reply #9 on: December 29, 2008, 03:01:13 PM »

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.
Logged

Lucid

  • Level 3 Member
  • ***
  • Posts: 139
Re: "user does not have access privileges" problem
« Reply #10 on: December 29, 2008, 03:18:24 PM »

Whoops..Sorry I should have know better.

Cheers!

Lucid.
Logged

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: "user does not have access privileges" problem
« Reply #11 on: December 30, 2008, 03:51:52 PM »

....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.
Logged

jimboston

  • Guest
Re: "user does not have access privileges" problem
« Reply #12 on: January 23, 2009, 06:25:55 PM »

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
« Last Edit: January 23, 2009, 06:30:46 PM by jimboston »
Logged

darthwhit

  • Level 1 Member
  • *
  • Posts: 7
Re: "user does not have access privileges" problem
« Reply #13 on: May 25, 2010, 07:17:28 PM »

this worked for me.
http://forums.dlink.com/index.php?topic=5294.msg30991#msg30991
Logged

Lucid

  • Level 3 Member
  • ***
  • Posts: 139
Re: "user does not have access privileges" problem
« Reply #14 on: October 09, 2010, 12:11:21 PM »

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

Logged
Pages: [1] 2