Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
Ok, following my trend of having seemingly unsolvable problems in Linux....
This time, I'm trying to write to a mounted storage partition in Mepis. I can't write to it mounted as a user. If I mount it when I'm root, I can write to it. I can't write to it when mounted as a user. I've tried just about every combination of fstab lines I can think of, including:
attempting to add "umask=000" (or any umask) produces an error. This is annoying. This will be the third forum I'v tried, I hope someone can shed some light!
The ext3 filesystem has user and group permissions. To obtain permissions to write to it use "chmod" or "chown" as root. For example,if your user name is kalnaren, then you can gain exclusive access with the commands:
sudo chown -R kalnaren /mnt/sda4
sudo chmod 0700 kalnaren /mnt/sda4
Please post the output of "ls -ld /mnt/*". Is this an internal drive or an external one. Normally you need to mount a partition as root. For ext3, the ownership and permissions of the mount point directory will change to reflect owner, group and permissions of the root filesystem. Are you sure that you used chmod and chown after the device was mounted?
If this is an internal drive, then add it to /etc/fstab so that it is mounted as root. If this is an external drive, then use the "user" and "noauto" options in the /etc/fstab entry. That will allow you to mount it as a regular user. ( Note: for a usb drive, you may be using the udev/hal automount facility instead. That would be ok too. )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.