View previous topic :: View next topic |
Author |
Message |
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
Posted: Sun May 23, 2004 4:45 pm Post subject: [Mount HD Ntfs & ProFTPD] How to access a readonly f.... |
|
|
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 |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Sun May 23, 2004 6:47 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Mon May 24, 2004 2:18 am Post subject: |
|
|
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 |
|
|
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Mon May 24, 2004 3:54 am Post subject: |
|
|
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 |
|
|
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
|
Back to top |
|
|
|