Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Frank Henning Petersen on February 27, 2003, 12:28:35 AM
-
I have followed the guidelines HOWTO add a second harddrive, and it almost works.
I have formatted the drive, made the filesystem and added it by the following line in /etc/fstab:
/dev/hdc1 /home/e-smith/files/primary/files ext2 defaults 1 2
But everytime I connect to my ftp-server (which now should be on the other drive) I get access denied. Make sure disk is not full, or write protected.
Frank
-
Check the ownership and file privileges of the filesystem on your new drive, ls -al /home/e-smith/files/primary/files make sure they are set the same as the rest of your /home/e-smith/files/primary hierarchy.
You can fix them (as root) with the chown and chmod commands.
HTH,
Jim
-
When running ls -al /home/e-msith/files/primary:
drwxr-s--- 2 admin shared cgi-bin
drwxr-xr-x 3 ftpusers root files
drwxr-s--- 2 admin shared html
When I dismount my new harddrive, they all are shared. I've tried to set it up, so only the group ftpusers would have access to my ftp server (files).
After dismount:
drwxr-sr-x 2 admin shared files
Havent got a clue how to change it with chmod or chown. Had a look at both, but Im not sure howto.
Frank