LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Debian - moving files to FreeNAS (http://www.linuxquestions.org/questions/linux-software-2/debian-moving-files-to-freenas-724038/)

Mithrilhall 05-06-2009 12:10 AM

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.

widget 05-06-2009 12:43 AM

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.

Mithrilhall 05-06-2009 12:52 AM

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.

widget 05-06-2009 02:18 AM

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.

Mithrilhall 05-06-2009 07:17 AM

I'll install Nautilus and give that a shot. I was actually using smb4k for network browsing.

widget 05-06-2009 12:30 PM

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.


All times are GMT -5. The time now is 07:21 PM.