danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

no permission to delete folder #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. deleting a folder
2.
3.

What is the expected output? What do you see instead?
no permission to delete folder. Only allow to delete files or empty folder.

What version of the product are you using? On what operating system?
tried all.

Please provide any additional information below.
I need to go into the the folder to delete all the files first then
I can delete the folder. Or I have to use a ftp software / ssh to nas.
Tried chmod 777 /usb/sda1 also cannot work.

kindly help. Thanks.

Original issue reported on code.google.com by jimmyhh...@gmail.com on 6 Jan 2011 at 5:10

GoogleCodeExporter commented 9 years ago
I have tried with this command:
chmod 777 /usb/sda1 -R

Original comment by m4t...@gmail.com on 9 Jan 2011 at 7:58

GoogleCodeExporter commented 9 years ago
Already tried chmod 777 /usb/sda1 -R
              chmod 777 -R /usb/sda1 both doesnt work.
my guess is that there is a ownership problem in the firmware which I hope 
someone
can help.
for example if I connect via Winscp, I can delete files and folder.

Original comment by jimmyhh...@gmail.com on 11 Jan 2011 at 8:26

GoogleCodeExporter commented 9 years ago
To change the ownership of a folder (and all his subfolders and files):
Enter to the nas with telnet or ssh. Then
cd /usb
cd sda1 (or any other path)
chown -R username:username foldername

This is the way I use to have read/write permissions using ftp.

Original comment by robertoy...@robertoyoldi.com on 19 May 2011 at 11:07

GoogleCodeExporter commented 9 years ago
in ssh try rm -r to remove the folder and all it's contents.

Original comment by dorbian@gmail.com on 16 Jun 2011 at 8:47

GoogleCodeExporter commented 9 years ago
frustrating this,  I set up an ext 3 partition and have the same problem,

Unable to delete folder containing other folders and files via share and want 
to be able to, I automate mirror back ups

Messed around chmod setting, at /usb mountpoint and folder in question but 
still unable to get it function properly, 

Only way to delete is remove folder contents first on logging via winscp via 
ssh to the device.

Permissions also mess up a lot of content copy as read only too, and chmod 
setting have to be changed to 777 in order to be able to delete.

hope this is fixed, or someone has a fix..

Original comment by mansell....@gmail.com on 16 Jul 2011 at 1:27

GoogleCodeExporter commented 9 years ago

Same problem here in addition to not being able to overwrite/change files

Using Microsoft SynToy to sync files between desktop and NAS produces a lot of 
errors. Only new files can be copied over to SnakeOS.

Error reported is:
The mounted file system does not support extended attributes (Exception from 
HRESULT: 0x8007011A)

Original comment by rive...@gmail.com on 2 Aug 2011 at 6:04

GoogleCodeExporter commented 9 years ago
What file system are you using? 

Original comment by pabl...@gmail.com on 3 Aug 2011 at 9:30

GoogleCodeExporter commented 9 years ago

Default: ext3

Original comment by rive...@gmail.com on 4 Aug 2011 at 4:31

GoogleCodeExporter commented 9 years ago
I had problems with ftp and samba to write new files. The solution was to 
change the permissions on the folder using chmod and giving write permissions 
to all: 
chmod 666 folder_name (or file names)

Original comment by pabl...@gmail.com on 4 Aug 2011 at 5:24

GoogleCodeExporter commented 9 years ago
I don't think it's your permissions that are at fault but the command that you 
are using. Try rmdir instead of rm. rmdir removes an empty directory. rm 
removes the contents of directories.

Original comment by smoone...@gmail.com on 5 Aug 2011 at 1:07

GoogleCodeExporter commented 9 years ago
Exactly the same problem!

NAS version:       NS-K330
Version:           snakeos-V1.3.2-20111019-from-snake
OS Used (Client):  Windows 7 64-bit

My HDD is in NTFS, but I already tryed it in EXT3 and presents the same error.

Its happens when I move some folder aether.

And seams that Issue 199: "Cannot Delete non-Empty Folders through FTP or SMB" 
have the same problem.
http://code.google.com/p/snake-os/issues/detail?id=199

Original comment by matheusa...@gmail.com on 27 Apr 2012 at 3:47

Attachments:

GoogleCodeExporter commented 9 years ago
It seems the problem is solved by applying the Samba package 3.

Download:
http://code.google.com/p/snake-os/downloads/detail?name=samba3-3.6.3-1.opk

Info:
http://code.google.com/p/snake-os/issues/detail?id=19#c26

Works with me.

Original comment by matheusa...@gmail.com on 27 Apr 2012 at 4:10