LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-29-2009, 06:23 PM   #1
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Rep: Reputation: 1
Question Curlftpfs mounts FTP read-only


Hallo,
I don't use Nautilus and its utility "Connect server", but I want to access FTP. Why not Nautilus and gvfs? I don't want have a lot of mess because of this simple purpose. After quite lot perused text and how-to I have chosen curlftpfs. Everything is fine, I can access files, touch them, delete them, but that's all. In additional, these actions work properly only in command line - when I try to use file manager (xfe), I get error message. I can't edit anything, copy or move files doesn't work also.

Connection from command line:
[michal@arch-linux ~]$ curlftpfs -o allow_other ftp://(ftp login):(password)@(ftp server) /mnt/ftp

I also added line into /etc/fstab
curlftpfs#(ftp login):(password)@(ftp server) /mnt/ftp fuse allow_other,rw,user,noauto 0 0

The result is still same - access without editing, copying etc.

Where is the problem? Am I doing something badly? Or the server is configured to reject curlftpfs requests (I don't know, if I have expressed well)? Or is there any other possibility to mount FTP as local file system (except gvfs and curlftpfs)? Thank you for any kind of help.

Last edited by MichalKvacek; 12-29-2009 at 07:04 PM.
 
Old 01-01-2010, 06:51 PM   #2
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Rep: Reputation: 32
Post

I have waited before replying as don't know anything about curlftp, which I believe you are using to access a file system across the web. For this, I have previously used ftp, this is ideal for moving files in and out of remote servers. However I do mount file systems over my network. I use mainly ubuntu or debian, however the samba utility is afaik available to other distros.
Install samba and smbfs, share the folder on the remote host to which you need access from the smb.conf file on that host (let's say "public"), make a directory to which you can "map" the remote directory, let's call that "remotefiles" then add to fstab something like
Code:
//OTHERHOSTNAME/public  cifs   PATH.ON.YOUR.HOST/remotefiles   users,noauto
You will then mount it thus:
Code:
mount PATH.ON.YOUR.HOST/remotefiles
This needs root privileges on my system.

If the remote host is always on, you won't need noauto, users.

I have never tried to substitute an ip address outside my own network, but this may be worth researching further.

I know this is not an elegant solution, but I use it to get round the situation you are describing; I can see the shares on (windows) remote hosts but can never write to them unless I mount them as described above. I hope this helps you.
 
Old 01-02-2010, 05:18 PM   #3
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
I agree this is not an elegant solution ). The remote server is not mine - it is webhosting and I have no ssh access or anything like that - only ftp. But it doesn't matter, I have found another solution.
I needed mount ftp as local file-system only for developing. So I have installed xampp (preconfigured apache+mysql+php+some other features) and it seems it's running fine .

However thank you for your reply, best regards, Michal Kváček
 
  


Reply


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
Why Curlftpfs mounts disable apache restart? demia Linux - Server 2 05-02-2009 11:50 AM
USB HardDrive mounts read-only. Is there anyway to make it read-write? Fritz_Katz Linux - Hardware 7 09-13-2007 06:50 PM
rwcd mounts as read-only somae Slackware 5 02-10-2007 03:15 PM
NTFS mounts; but I can't read it JulienPDX Linux - Newbie 13 07-02-2006 03:03 PM
FAT mounts read-only jogurt666 Linux - General 3 02-12-2004 06:13 AM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration