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.
I mounted my C:\ drive in RH Linux 7.1 as /c/ so that I could access it. (Linux is on my D:\). The problem is that only the root user has read & write access to it, all other users only have read access. How can I alter the permissions to give all users write access as well?
With root access I tried chmod a+rwx /c/ and chmod 777 /c/ (same thing) and they both say that the directory has been chmoded correctly (in conjunction with the -v option):
[root@localhost /]# chmod -v a+rwx c
mode of `c' changed to 0777 (rwxrwxrwx)
However neither a root ls -l lookup nor a user ls -l lookup shows the changes, both still think it's rwxr-xr-x.
Btw, I am both new to Linux Questions and a , so any help is greatly appreciated! Thank you!
vfat - windows file system
defaults - ahh just ignore it...
umask - the exact opposite of chmod levels. imples restrictions, not rights. therefore 000 = no restrictions.. i.e. chmod 777 equivalent.
quiet - suppresses file rights problems, inherent in vfat fs's
user - lets users control it's mounting and unmounting
Hello all,
Well i have installed RH Linux 7.1 on my PC . This was a partition less install and i am using a boot floppy to boot into linux. I wanted help regarding accessing my windows files in Linux. Every time i try to give the command
mount -t vfat /dev/hda1 /mnt/windows
it gives me an error saying that device might be already mounted or busy. I have not mounted the device. So whats happening???????
You sure it's not already mounted? check /etc/fstab for the automatic mounting on that partition. I can see how if that's the partition you're using, it might be a bit odd, should still act as normal tho
I've try to edit fstab but after adding theline:
/dev/hda1 /windows vfat defaults,umask=000,quiet,user 0 0
I then reboot and it tells me that windows does not exist...
any idea what i am doing wrong?
thanks
Well, maybe there is no hope...
I can't even do that right.
here is what i do:
in /mnt i create this way:
mkdir windoz
chmod 777 windoz
and i edit fstab with a last line:
/dev/hda1 /windoz vfat defaults,umask=000,quiet,user 0 0
save and reboot
then it gave me a 'missing something in my fstab last stuff'
quite depress...
Originally posted by c0c0deuz in /mnt i create this way:
mkdir windoz
chmod 777 windoz
and i edit fstab with a last line:
/dev/hda1 /windoz vfat defaults,umask=000,quiet,user 0 0
Uhm... think about it!! You've created the windoz folder in /mnt!! So you're fstab line should be
i got that Jamie and it works fine now but when i am booting it still give me that line'No final newline at the end of /etc/fstab' is it that screw up there too?
Right - sounds like you simply need to go to the last line of fstab and add a newline (i.e. press enter to start a new line) then save the file. I can't say I realised that everyline of fstab had to be newline terminated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.