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!
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 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 05: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.
Thanks guys!
I worked around a little and got it to work with first sudo ug=rwx /local then sudo chown username /local.
Thanks for everything.It erked me having a pc with only one non optical drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.