Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using opensuse 10.3.I decided to install a second hard drive for storage reasons.After that I went to Yast,System,Partitioner and partioned the drive as one large partition mounted as /local,by device id,with ordered data journaling mode,access control lists,and extended user attributes boxes checked.I tried to closely match the settings for the first drive with the partitioning tool.When I go to “My Computer” open the second drive and try to create a folder I get “access denied to /local/New Folder.I am relatively new to this O/S What am I doing wrong?
I have one line in /etc/fstab relating to the second drive.it looks like this.
/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1060696-part1 /local reiserfs acl,user,xattr 1 2.
Last edited by Nocturnius; 11-14-2008 at 06:28 PM.
Reason: Additional information added.
You're doing nothing wrong, really. You just have to give your mount point (let's say it's /media/hd2 or whatever) the appropriate permissions. The simplest way to do that would be to launch a root instance of your file browser (let's say it's konqueror) by typing su in a terminal and then konqueror; then you navigate to your mount point (/media/hd2 or whatever it's called), right-click on it, select Properties > Permissions and set the desired permissions. I think you don't even need to unmount/remount the thing to get it working.
Since you already have the /local mount point, and it does mount when you boot, you just need the change the ownershop and permissions on the mounted filesystem. E.G. in the shell, run "sudo chown <yourusername>.<yourusername> /local". For the permissions, "sudo chmod ug=rwx" will do you, unless you have the default group "users". In that case, to make this filesystem private use "sudo chmod 0700 /local". I mount extra drives under /mnt and leave /media for automounted devices.
If the partition for the drive is for a database, or samba or nfs share, then under /srv/, /var/ may be a better mount point. However, since this filesystem is private, you can mount it in your home directory as well. After changing the ownership and permissions, you just need to create the mount point and edit /etc/fstab to change it.