LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2009, 12:10 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Rep: Reputation: 30
Question Debian - moving files to FreeNAS


I'm having an interesting problem.

I have a FreeNAS server. When I try to copy files over to it from my Debian system I get the following error message:

Code:
Access denied.
Could not write to /home/mithrilhall/smb4k/10.2.250.254/JBOD/movies/movie01.avi.

Cancel           Skip           Auto Skip
If I hit Skip or Auto Skip the directory gets created; such as 'movies', but the actual movie, 'movie01.avi', doesn't get copied over.

Once the directory is on the FreeNAS I can move the 'movie01.avi' into it without a problem.


I can also copy over the 'movie01.avi' to any directory or the root of the FreeNAS without a problem. The only time I get the error message is if I try to move something over that resides in a directory and it doesn't exist yet on the FreeNAS.

If I try to copy something over as myself from the command line I get the following error message:

Code:
mithrilhall@debian:~/downloads$ cp -Rv Boxing\ Knockouts\ Of\ 2008/ /home/mithrilhall/smb4k/10.2.250.254/JBOD/
`Boxing Knockouts Of 2008/' -> `/home/mithrilhall/smb4k/10.2.250.254/JBOD/Boxing Knockouts Of 2008'
`Boxing Knockouts Of 2008/w4f-kos.2008.ws.pdtv.xvid.avi' -> `/home/mithrilhall/smb4k/10.2.250.254/JBOD/Boxing Knockouts Of 2008/w4f-kos.2008.ws.pdtv.xvid.avi'
cp: cannot create regular file `/home/mithrilhall/smb4k/10.2.250.254/JBOD/Boxing Knockouts Of 2008/w4f-kos.2008.ws.pdtv.xvid.avi': Permission denied
mithrilhall@debian:~/downloads$
If I try to copy something over as root from the command line it works fine.
 
Old 05-06-2009, 12:43 AM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I have only started to play with Debian, remember that.

What you appear to be dealing with are what I think are some kind of silly Debian file permission issues. I can, for instance, under Ubuntu transfer files between partitions from Ubuntu to Debian. To go the other way requires being SU.

I think that you have figured out the best way to transfer your files. Go as root. Create your directories on the server first.
 
Old 05-06-2009, 12:52 AM   #3
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
I used to run Kubuntu and I never had a problem copying files over to the FreeNAS. I figured it is some permissions issue I'm over looking.

I'll try to fire up Ubuntu in Virtualbox to see if I can still copy files/directories over without a problem.
 
Old 05-06-2009, 02:18 AM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Kubuntu may do the job. Same kernal but I prefer the power of Nautilus.

I know that if it was me I would go with the new 9.04 Ubuntu (if it likes your box, loves mine). Ext4 is really neet. And nautilus with SU permissions will go anywhere and fetch anything and put it anywhere. You do usually have to mount the partitions in normal nautilus (Places->Home Folder) for SU nautilus to see them.

Don't really know why but I just don't like KDE and think konquerer is hopeless.

That is one of the many things I love about linux - choice. I hear people complain about how there is too much on some forums. I think they are nuts.

I would love to see linux accepted as a viable OS in the eye of the public. To me that doesn't mean you have to dumb it down to be "user friendly" to hard core MS simpletons. Gee, you mean I have to choose a Desktop manager? What is that. Different file managers? Windows doesn't have one. People like that should stick with MS or better yet get rid of their computer out of kindness to machines.
 
Old 05-06-2009, 07:17 AM   #5
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
I'll install Nautilus and give that a shot. I was actually using smb4k for network browsing.
 
Old 05-06-2009, 12:30 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Well I hope it works and that you let us know.

I am sorry but I just don't know a thing, really, about KDE and its tools. I have a couple OSs loaded that run KDE to show people that might be interested in Linux. I keep them updated but there is some personality conflict there. I get infuriated right off the bat. I am probably faulty. Probably need a kernal upgrade.
 
  


Reply

Tags
permissions, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't recursively copy directories/files with non-ascii names on freeNAS Rascale *BSD 2 03-30-2009 01:07 PM
moving files from a location to other, preventing to move incomplete files pogo123 Programming 8 11-14-2008 06:21 AM
moving files from a location to other, preventing to move incomplete files pogo123 Linux - Newbie 2 11-13-2008 01:57 PM
moving files Baghdad Linux - Newbie 5 01-22-2006 01:39 AM
Moving files UmneyDurak Fedora 4 08-28-2005 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration