Jump to content

MC problem: Probably user error Linux noob


Recommended Posts

Posted

Hello everyone,

 

I managed to mount a share on a Thecus N5500 NAS, and I try to move some files from my Unraid server to it with Midnight Commander.

 

When trying to move a single file I get the message: Cannot chown target file [filename] Permission denied (13)

 

When trying to move a directory I get the message: Cannot chown target directory [directoryname] Permission denied (13)

 

What am I doing wrong? Is it an MC error? Should I add some options to the mount command for the Thecus share? Or is the NAS Samba configuration wrong?

 

Please help!

Posted

Hello everyone,

 

I managed to mount a share on a Thecus N5500 NAS, and I try to move some files from my Unraid server to it with Midnight Commander.

 

When trying to move a single file I get the message: Cannot chown target file [filename] Permission denied (13)

 

When trying to move a directory I get the message: Cannot chown target directory [directoryname] Permission denied (13)

 

What am I doing wrong? Is it an MC error? Should I add some options to the mount command for the Thecus share? Or is the NAS Samba configuration wrong?

 

Please help!

It sounds as if you mounted the share as read-only. (or the Thecus has the folders shared as read-only)
Posted

Thank you Joe-L,

 

When I go to the share in MC I can create and delete directories on the share

 

When I issue the mount command without any parameters I get:

 

//192.168.xxx.xxx/media on /mnt/n5500 type cifs (rw,mand)

 

Is this ok?

 

Posted

Thank you Joe-L,

 

When I go to the share in MC I can create and delete directories on the share

 

When I issue the mount command without any parameters I get:

 

//192.168.xxx.xxx/media on /mnt/n5500 type cifs (rw,mand)

 

Is this ok?

 

that shows it is mouned as "rw" (read/write) so the issue must then be that the ID being used to access the Thecus has read-only permissions.
Posted

Can this ID be set with the mount-command or must this be done in the NAS? Must it be something like root/root or nogroup/nouser?

 

Can anybody help? This really bugs me.

Posted

Thank you Joe-L,

 

When I go to the share in MC I can create and delete directories on the share

 

When I issue the mount command without any parameters I get:

 

//192.168.xxx.xxx/media on /mnt/n5500 type cifs (rw,mand)

 

Is this ok?

 

that shows it is mouned as "rw" (read/write) so the issue must then be that the ID being used to access the Thecus has read-only permissions.

It tells me that this problem is too difficult for me. I am a Linux novice and all this ID stuff is something I don't understand. I am willing to learn though and I won't give up on this. So if anyone can help me and point me in the right direction I am very gratefull. So please help me with this.

Posted

Thank you Joe-L,

 

When I go to the share in MC I can create and delete directories on the share

 

When I issue the mount command without any parameters I get:

 

//192.168.xxx.xxx/media on /mnt/n5500 type cifs (rw,mand)

 

Is this ok?

 

that shows it is mouned as "rw" (read/write) so the issue must then be that the ID being used to access the Thecus has read-only permissions.

It tells me that this problem is too difficult for me. I am a Linux novice and all this ID stuff is something I don't understand. I am willing to learn though and I won't give up on this. So if anyone can help me and point me in the right direction I am very gratefull. So please help me with this.

Assuming you know an ID that you can use to log onto the Thecus that has read and write permissions on it, you just need to mount the drive supplying the user id and password like this:

mount -t cifs -o username=USERNAME,password=PASSWD //192.168.xxx.xxx/media /mnt/n5500

Posted

Still no success. I guess I have to be a member of a certain group or so. Ganna drop a question on the thecus forum too. Access from Windows is easy, but from a Linux box it isnt working.

Posted

I mounted the share as NFS and was partially successfull: I can copy directories and files to the share, however at a rather slow speed approx. 7-20 MB/s. Also when I try to access the copied files from a Windows machine I get an Access denied error. Does anyone have any hints how to fix this?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...