[SOLVED] How do I make drives readable/writeable in Fedora 14?
FedoraThis forum is for the discussion of the Fedora Project.
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.
How do I make drives readable/writeable in Fedora 14?
Hi all
I decided I could get by without WIN7 on my computer on a permanent basis, so re-installed Fedora 14 on drive SDA (Drive 0), previously occupied by WIN7, and formatted all other drives in the system (SDB, SDC, and SDD to EXT4.
The install went well, and everything is working except one thing - I cannot get SDB,SDC or SDD to copy files one to the other. The message I get is that permissions do not allow this process. I have changed to ownership of thes drives to myself, rather than root, and set them to automount, as follows:
The automount works OK, and I can access the contents of individual files on these drives, but as far as copying goes, there is no go.
What other parameters do I have to add to the automount in /etc/fstab to allow for this read/write function, or am I looking in the wrong area entirely?
I have searched these forums and the Internet in general, but I cant seem to find anything specific to this problem.
Which information that i asked from you?.... Ummm I hope you need some Linux/Unix administration ideas.
Quote:
Sorry I can't give you any more info than that
My system also kind of mission critical system but by having these information no one penetrate. Please keen when you seek help from others
Code:
[root@Est /]# ll
total 3910810
drwxr-xr-x 2 root root 4096 Mar 11 2010 bin
drwxr-xr-x 4 root root 1024 Mar 11 2010 boot
-rw-r--r-- 1 root root 4000606208 Dec 26 2009 CentOS-5.4-i386-bin-DVD.iso
-rw-r--r-- 1 root root 0 Oct 21 17:51 daily_hicard.out
drwxr-xr-x 11 root root 4440 Nov 29 10:15 dev
drwxr-xr-x 108 root root 12288 Dec 29 04:02 etc
drwxr-xr-x 7 root root 4096 Oct 21 17:37 home
drwxr-xr-x 13 root root 4096 Mar 11 2010 lib
drwx------ 2 root root 16384 Mar 11 2010 lost+found
drwxr-xr-x 2 root root 4096 Mar 10 2009 media
drwxr-xr-x 2 root root 0 Nov 29 10:15 misc
drwxr-xr-x 2 root root 4096 Mar 10 2009 mnt
drwxr-xr-x 2 root root 0 Nov 29 10:15 net
drwxr-xr-x 9 root root 4096 Dec 28 14:43 opt
dr-xr-xr-x 111 root root 0 Nov 29 10:14 proc
drwxr-x--- 18 root root 4096 Dec 29 15:40 root
drwxr-xr-x 2 root root 12288 Mar 11 2010 sbin
drwxr-xr-x 4 root root 0 Nov 29 10:14 selinux
drwxr-xr-x 2 root root 4096 Mar 10 2009 srv
drwxr-xr-x 11 root root 0 Nov 29 10:14 sys
drwxrwxrwt 6 root root 4096 Dec 29 15:48 tmp
drwxr-xr-x 16 root root 4096 Mar 22 2010 usr
drwxr-xr-x 28 root root 4096 Mar 23 2010 var
See how read write and execute permission granted to the files and directories in root partition and who own all these as like you need to confirm on your system on /media path
Yes - I've changed ownership of sda, sda1 sda2,sda3, sdb, sdb1, sdc, sdc1, sdd and sd1 in /dev, and changed ownership of drivb, drivc and drivd in /media.
as in chown bruce /dev/sdb1, chown bruce /media/drivb in /media, etc (drivb drivc, drivd being the directories created in /media for mounting.)
(the permissions for each drive show myself as owner with r/w access.)
I've tried changing 'defaults' in fstab to 'defaults -w --rw' and just -w --rw' in fstab, but the system then refused to recognise the file systems at all.
The thing that bugs me is that I had almost exactly the same setup when WIN7 was installed, and this problem just didn't happen.
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92
Rep:
I believe -w and --rw options in fstab are invalid. Options in fstab are comma delimited string. Just curious... how about mounting them from CLI? Try below steps and see if it brings any different results:
# umount /media/drivb
# id bruce
uid=xxx(bruce)... <= get the uid of bruce and use it below
# mount -t ext4 -o uid=xxx,rw /dev/sdb1 /media/drivb
I've tried changing 'defaults' in fstab to 'defaults -w --rw' and just -w --rw' in fstab, but the system then refused to recognise the file systems at all.
brpy1
I have a couple of additional disks on my F13 system, and have these entries in my /etc/fstab;
It is a while since I looked at this, and now not sure why the entries are different, but they both work OK.
Not sure if this will solve your problem, but does give you something to try.
Many thanks to you all for your suggestions and comments. However, early this morning I got sick of beating my head against a brick wall, having tried various solutions (except Terrys, which looks as though it would work) without success, and I re-installed. As far as I can recall, I did nothing differently in the second install as compared to the 1st, except that now, everything works as it should.
Again, thanks to you all for your assistance - it is very gratifying to know that there are people out there who have the knowledge and who are willing to help those of us who are new, or relatively new, to Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.