D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: perfectdark on November 17, 2010, 01:22:47 PM

Title: Require permission froom Unix\root to make changes
Post by: perfectdark on November 17, 2010, 01:22:47 PM
I cannot delete/rename/move 1 folder and sub-folder/files i see the below message in windows

You Require permission froom Unix\root to make changes to this file

I have set my dns-323 to factory default ... no change

I cannot get fun_plug to install (spent hours on this reading as it seems straight forward but doesn't load) and regardless why shoud i have to hack the dns to delete a file?


any other thouights on this?
Title: Re: Require permission froom Unix\root to make changes
Post by: davo on November 17, 2010, 02:12:13 PM
Sounds like you've edited the permissions sothe box can't read them
(or did you change the samba authentication?)
eg: CHMOD  http://catcode.com/teachmod/chmod_cmd2.html
Title: Re: Require permission froom Unix\root to make changes
Post by: perfectdark on November 18, 2010, 03:24:13 AM
I haven't made any changes.

I have been trying to delete this file for weeks, today i did factory reset but still not able to delete.
I copied this file to Vol_1 and Vol_2 from my windows PC. I deleted the file on Vol_2 no problem but Vol_1 won't let me
Title: Re: Require permission froom Unix\root to make changes
Post by: jamieburchell on November 18, 2010, 04:42:52 AM
Did you try the "Reset Network Access List Button"  in the web admin and rebooting?

If that doesn't work, use a freeware application such as Notepad++ to create a file named "fun_plug" in the root of Volume_1 with the following line:

Code: [Select]
chmod 777 "/mnt/HD_a2/path/to/file.ext"

Change /path/to/file.ext to where your file is within Volume_1.
Save the file in Unix format (LF line endings) and reboot the NAS.
Try to remove the file again. Then remove the fun_plug file you created.

I have no idea why file(s) created on the NAS should suddenly have incorrect permissions. All files created via SMB have full read-write access to any user defined on the NAS.
Title: Re: Require permission froom Unix\root to make changes
Post by: perfectdark on November 18, 2010, 11:51:03 AM
I appreciate your response and will give it a try (i have tried to load the fun_plug app before but it never loaded)

qucik question , as i am not familar with unix... how do i "Save the file in Unix format (LF line endings)"
Title: Re: Require permission froom Unix\root to make changes
Post by: jamieburchell on November 18, 2010, 12:36:36 PM
You don't need to load the full fun_plug created by Fonz (FFP), just create a single file named "fun_plug" as suggested.

In Notepad++, "Edit menu" > "EOL Converstion" > "UNIX Format"

http://notepad-plus-plus.org/ (http://notepad-plus-plus.org/)