Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an ftp server, and the drive which holds the data in ftp root is contained in a truecrypt volume. This drive is /dev/hda.
I mount this drive to where the ftp root is set to, let's call it /var/ftp/, using truecrypt
i run:
truecrypt /dev/hda /var/ftp
I enter the password, and the drive is mounted. All the files already on the drive can be accessed and downloaded by all on the ftpserver. However, only root has permission to write to this drive. Whether local or from ftp.
I figured that I would be able to chmod the device by "chmod -R a+rwx /var/ftp/" or chmod'ing new folders inside the mounted drive.
This does not give me write permissions as it should for the drive. Is there something that I am doing wrong, or could it be truecrypts fault for not allowing me to chmod the drive?
I would ask on the TrueCrypt forums. http://forums.truecrypt.org/ To get into the "Problems-Linux" or "Problems" subforums, you need to setup a userid. Not so for the "General" subforum. Not sure why that is. I did a quick search using my id on "write permissions" for the Problems-Linux subforum, and there were quite a few hits. I don't have the time at the moment to research through them all so I can't give you any definite answers, but I'm guessing you can find what you need in those forums.
I install fedora 5 in the second hard disk and windows xp in the first hard disk but i can't mount hda in the fedora and i see error PERMISSIONS DENIED.I enter in the root but I see same error again.Please help me.Here is my fstab
I just had another thought on this pop into my head (yeah, I know, about two weeks too late!)
Quote:
Originally Posted by spicyed
i run:
truecrypt /dev/hda /var/ftp
Did you try mounting the truecrypt volume with the -u option?
e.g.,
Code:
truecrypt -u /dev/hda /var/ftp
From the command "man truecrypt"
Code:
-u, --user-mount
Set default user and group ID of the filesystem being mounted to
the user and group ID of the process which executed TrueCrypt.
Some filesystems (like FAT) do not support user permissions and,
therefore, it is necessary to supply a default user and group ID
to the system when mounting such filesystems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.