|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
||||
|
||||
|
This is a stupid Q but I really don't know the answer and need help of all big Brothres out there. I have dual boot RHLinux7.2 + Win98SE on my PC then I manged to change the /etc/fstab file to access the win parts . But the problem is that only root can write files on win parts. I know I need to change writes to the win parts but how I don't know. I have two user account aprt from root one is Shleda and second is Guest. How do i permit the Shled to use the win part in read and write modes and prevent guest to accessing the C part and only D part where all my mp3 reside?
Easy Q but I don't know the answers pleeeezzzzz help ![]()
__________________
Kumar Chetan ----- 7+ Yrs of PHP/MySQL/JS/CSS/HTML/XHTML _SelfProcclaimedGuru To err is human. To blame your computer for your mistakes is even more human, it is downright natural. |
|
#3
|
|||
|
|||
|
You probably need to change the folder permissions where the windows partition is mounted. It's probably only readable and writable by root....you need to chmod it so that shelda the appropriate users can read and write to it.
|
|
#4
|
||||
|
||||
I am a fool freebsd. U must forgive me as u are a senior and i am at starting level. I do know that I need to chmod the Dir but how so i posted my comments here. Please let me know how to change permisions for a particular user. Do I need to create a user groups and assign the user access to those folders. Say I want to assign only one user the floppy access. so what should I do? Please help me. |
|
#5
|
|||
|
|||
|
Try the manual
man chmod |
|
#6
|
||||
|
||||
|
You can't change perms on a fat fs. Use 'man fstab' instead and mount it user/s writable.
__________________
Words must be weighed, not counted. |
|
#7
|
||||
|
||||
|
Do I need to add /etc/fstab
DO I need to add /ect/fstb file to each user account?
|
|
#8
|
||||
|
||||
|
It goes something like this:
Code:
/dev/hda3 / ext3 defaults,user 1 1 On my machine it gave riv.users as the owners so you can delete files on it if you are the user. You can probably pass a parameter such as "gid=x" so that users on group x can delete also. But I think you need to mount it as a user before, I don't know about boot-time though. man fstab again. |
|
#9
|
||||
|
||||
|
For FAT32 (windows) you should do something like this in your /etc/fstab:
Code:
/dev/hdb1 /windows vfat rw,exec,user,uid=500 0 2 You put "rw" in so people can write *and* write with the partition, you put "exec" in if you'd like to allow people to execute programs/scripts off the partition, "user" in to allow ordinary users to mount the filesystem, and "uid=500" to give the partition ownership specific to a user (so if you want your normal user account to have "ownershop" change that number to your user id (found in /etc/passwd). Look in the fstab and mount manuals for all you need to know on this ![]() |
|
#10
|
||||
|
||||
|
I did the same as granting "rw" and "exec" permissions in etc/fstab but now when I rebooted the system it hanged.
what happened is that Linux boot process checks the proc file system mounts /boot and then gives warning that FAT32 support is still alpha. after the message system do nothing and for total 5 minutes I kept watching this message(How fool I am I should have rebooted) I could not understand what happened Please help |
|
#11
|
||||
|
||||
|
Looks like it's trying to check it (somehow!?).
What kernel version you have? |
|
#12
|
||||
|
||||
|
I don't remember the ver of no as i am away from my pc. I surf from a cafe and can give u my config
RH Linux 7.2 Dual boot with Win98SE Boot Loader is GRUB and thats all I know ![]() |
|
#13
|
||||
|
||||
|
Type in uname -a and get a newer kernel than it says (or more suited for your rig).
|
|
#14
|
||||
|
||||
|
OK a new Q
BTW it is out of track but let me ask. What should I do if My Linux Machine Hangs at Booting?
Secondly My machine hangs only when I change the permissions in /etc/fstab to rw,exec and so. The system just displays FAT32 support is still aplpha and thats all. |
|
#15
|
||||
|
||||
|
RW acces has always been flawless, are you sure it's not NTFS? Are you running w2k or xp? Try removing the 'exec' flag as I doubt you will do that. Ho and also, try mounting it as msdos (aka fat16) rather that FAT32.
And if your machine hangs make sure you know at which point, do you know the booting procedure of Linux in general? There are a few HOWTO's on the subject, check out www.tldp.org. If it's not too early try booting in single mode (or admin), I *believe* you can use "kernel init=1" or "init=single" on the LILO prompt. You could also hit CTRL-C to see if you can kill it that way. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > How do I .... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|