Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Mount HD Ntfs & ProFTPD] How to access a readonly f....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Sun May 23, 2004 4:45 pm    Post subject: [Mount HD Ntfs & ProFTPD] How to access a readonly f.... Reply with quote

Hi, I have an 60 Gb Hard drive under NTFS (/dev/hda1) that I want to be available by FTP (readonly) for my users...


how can I make that ?
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Sun May 23, 2004 6:47 pm    Post subject: Reply with quote

i could be wrong but any NTFS partition under linux is read-only. there are very restrictions in the NTFS write procedure. you can't create new files and you can't change the size of the files that already exists. so just point your ftpd to the ntfs partition that your users won't write into it... :) actually no one will :wink:
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon May 24, 2004 2:18 am    Post subject: Reply with quote

or change your fstab and set "ro" in the options field... As mentioned, you don't have to when you use NTFS

Unless you enabled "NTFS write support (EXPERMENTAL)" in your kernel config. If you did, mount it ro !!! Otherwise people will be able to fuck up your harddrive simply by putting files on there
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Mon May 24, 2004 3:48 am    Post subject: Reply with quote

But how to point my proftpd to my ntfs ?
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon May 24, 2004 3:54 am    Post subject: Reply with quote

edit /etc/proftpd.conf, or use webmin to configure the server
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Mon May 24, 2004 3:52 pm    Post subject: Reply with quote

Hmm


Sorry for the noob question but


how ?
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum