• February 28, 2025, 10:46:57 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: Permission denied errors with various files...  (Read 21704 times)

Ni-Cd

  • Level 1 Member
  • *
  • Posts: 1
Permission denied errors with various files...
« on: May 02, 2009, 09:41:11 AM »

Hello, I'm hoping that someone out there has run across this.

I store all of my freelance graphic design on my DNS-323.  Recently, I've started discovering that some of my files are inaccessible.  Windows gives a permission denied error.  Here is the exact wording of the errors:

when copying a photoshop PSD file:

Destination Folder Access Dentied
>You need permission to perform this action.

When attempting to open this same file with photoshop:
>Could not complete your request because the file is locked.  Use the 'Properites' command in the Windows Explorer to unlock the file.

When I check the security tab, my 'Everyone' user does not have any permissions, nor can I check them off (allow/deny are both empty, in fact).  However the Unix User\Nobody user, has full permissions.

Any help would be appreciated, as some of this data is brand new, critical and has not made it to backup yet.  :'(


Logged

mgenois

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files...
« Reply #1 on: May 29, 2009, 07:13:34 AM »

I have the same problem. Have you or anybody else found a solution?
Logged

mgenois

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files...
« Reply #2 on: June 08, 2009, 05:57:45 AM »

How can I fix this issue?

What I'm thinking of, is to install Linux on one of my PC, put the hard drive on my Linux, give the right authorisation on the files, and put back my HD into DNS-323. :S Should this work, I don't know.

Anyone got any ideas?

Logged

mgenois

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files...
« Reply #3 on: June 09, 2009, 03:57:24 PM »

Replying to myself :P

may help someone else later!

Upgrading to firmware 1.08 beta solved my issue! Weird problems... maybe something was corrupted and upgrading firmware cleaned the mess!
Logged

RixMix

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files...
« Reply #4 on: June 15, 2009, 01:17:37 PM »

I too have experienced this issue. Problem is that I am already on 1.08. It hasn't hit all my folders. Just some. There does not seem to be a rhyme or reason why. Is there a way to get the permissions reset? Otherwise the info in these folders is inaccessible. Any help would be very-much appreciated.
Logged

louisw

  • Level 1 Member
  • *
  • Posts: 9
Re: Permission denied errors with various files...
« Reply #5 on: June 15, 2009, 01:37:10 PM »

I did a lot of research and solved the problem.

I upgraded to 1.08 (this did not solve the problem) but I have stayed on 1.08.

The important thing is how the DNS 323 handles users.

I have two computers on Vista Home (32 Bit).

The issue I had was that the user on the second computer could access and create files but the computer 1 user could not access them ("Permission denied").

The trick is that, by default, when you map a drive under Vista, it would log you in with the (vista) user name and password.  If there is not a user with these credentials set in the DNS, then it will let you see files, read files, save files but with the "Nobody" permissions.

So, you can create a few users on the DNS with full permissions.

Then when you map the drive, set it to log in as a different user (in the map drive settings).  Enter the DNS user name and password.

Then you should be all set (this may require a few reboots of vista and the DNS 323).

(One issue I encountered was the the vista password did not match the DNS password.  You need to get those two in sync or set up the drive mapping as a different user logon).

I hope this helps.  I am not home at the moment so this is all from memory.

Logged

RixMix

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files...
« Reply #6 on: June 15, 2009, 05:36:10 PM »

Thanks for the post. Unfortunately, no dice on my end. More info: have a win7 ultimate PC and Vista Home Premium laptop. i've tried syncing the credentials on accounts and setting up mapped drives both with existing creds and new ones. Funny thing is, this issue is not happening on all folders. It only happens on some.  Any other ideas? What can be done to prevent this from happening again?
Logged

caseyd

  • Level 1 Member
  • *
  • Posts: 1
Re: Permission denied errors with various files...
« Reply #7 on: June 29, 2009, 11:01:42 AM »

OK, I had the same problem this weekend but, finally fixed it.
I loaded the new beta firmware 1.08, but, like you still had issues even though the user rights seemed correct.  I then did the "Reset Defaults".  It is a new item under one of the tabs.  I don't have access to it right now so I am going off of memory.  But, I think there was a "System" tab and one of the options was to "Set Defaults" or Reset to defaults.  A message pops up letting you know it is just setting the "settings" to default, but, your files are safe.  After clicking this, the DNS will reboot.  If you had a static IP address setup, you will have to change it back.  After this, it will delete all users, etc and restore it to just a single "ALL" user.  You should find everything back to normal.

I think part of the problem was I setup users after data was already on it.  The only problems I had where files in the root directory.  I created a new folder and moved all those files to it.  Then, setup the users I wanted again and everything worked fine afterwords.

Logged

RixMix

  • Level 1 Member
  • *
  • Posts: 3
Re: Permission denied errors with various files-SOLVED
« Reply #8 on: July 07, 2009, 06:08:38 PM »

caseyd, you are the man! the reset did the trick. to all the others who have experienced this issue, this solution WORKS. All hail! ;D
Logged

fredrokk

  • Level 1 Member
  • *
  • Posts: 16
Re: Permission denied errors with various files...
« Reply #9 on: July 18, 2009, 11:47:45 AM »

Hmm, is the upgrade to 1.8b needed to make it all work? The option to reset is still in 1.7.
Would prefere to wait with upgrade, but I have the same problem as folks in this thread.
Logged

ECF

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2692
Re: Permission denied errors with various files...
« Reply #10 on: July 29, 2009, 01:54:05 PM »

Reset to defaults should work in all firmware versions..sorry I couldn't get to this sooner as that is what I would have recommended as well.
Logged
Never forget that only dead fish swim with the stream

fredrokk

  • Level 1 Member
  • *
  • Posts: 16
Re: Permission denied errors with various files...
« Reply #11 on: August 14, 2009, 04:02:26 AM »

Well, I can reset to defaults in 1.07, All users are gone, but some things like the IP is still the same. I still can't delete some folders because of permissions. I now upgraded to the new 1.08:5 beta and tried the same thing with the same result  :-\
I tried delete by smb and by ftp, is there any other way?

Edit: in my ftp-pgm i can see that the permissions for the faulty folders is 503, while the 'good ones' are all 501. I'm on a mac, but I have also tried deleting from my XP-partition. can I use sudo and chmod in the terminal to change permissions?
« Last Edit: August 14, 2009, 08:00:19 AM by fredrokk »
Logged

ahchung

  • Level 1 Member
  • *
  • Posts: 4
Re: Permission denied errors with various files...
« Reply #12 on: August 14, 2009, 10:57:03 AM »

I have encountered similar problems but I had funplug installed.
So I telnet to the box as root and issued a command "chown nobody <filename>" or "chown -R nobody <foldername>" to set the ownership of the file/folder to "nobody".

Logged

fredrokk

  • Level 1 Member
  • *
  • Posts: 16
Re: Permission denied errors with various files...
« Reply #13 on: August 14, 2009, 11:09:32 AM »

I have encountered similar problems but I had funplug installed.
So I telnet to the box as root and issued a command "chown nobody <filename>" or "chown -R nobody <foldername>" to set the ownership of the file/folder to "nobody".

Yeah, with proper telnet it would be easy, but I'm chicken out on installing funplug, i'm not that good with unix n stuff. There must be a way to do this out of the box. Perhaps something for the final 1.08; that is, that all permissions are zeroed when reverting to defaults?
Logged

ahchung

  • Level 1 Member
  • *
  • Posts: 4
Re: Permission denied errors with various files...
« Reply #14 on: August 14, 2009, 11:20:42 AM »

I couldn't agree more.  There should be something built-in to reset all permissions - not only for DNS323.  It should be available in all NASes.
I had a Iomega media network drive and same thing happened - There was no hacking available for this drive and the only way to deal with it was to re-format the entire drive and start from scratch again.

Logged
Pages: [1] 2