Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old September 11th, 2002, 03:40 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Unhappy How do I ....

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.

Reply With Quote
  #2  
Old September 11th, 2002, 07:20 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Please start here and learn how to post a descriptive subject title before starting any new thread.
How do I .... is unacceptable.

Reply With Quote
  #3  
Old September 11th, 2002, 09:04 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 6
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #4  
Old September 12th, 2002, 04:51 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Talking ooops Sorry


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.

Reply With Quote
  #5  
Old September 13th, 2002, 10:23 AM
Epsilon Epsilon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Long Beach, California
Posts: 86 Epsilon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 10 m 34 sec
Reputation Power: 7
Try the manual

man chmod

Reply With Quote
  #6  
Old September 13th, 2002, 02:06 PM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 8
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.

Reply With Quote
  #7  
Old September 22nd, 2002, 11:48 PM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Do I need to add /etc/fstab

DO I need to add /ect/fstb file to each user account?

Reply With Quote
  #8  
Old September 23rd, 2002, 01:13 AM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 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.

Reply With Quote
  #9  
Old September 23rd, 2002, 03:57 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
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

Reply With Quote
  #10  
Old September 25th, 2002, 01:07 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Unhappy Again a problem

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

Reply With Quote
  #11  
Old September 25th, 2002, 02:34 AM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 8
Looks like it's trying to check it (somehow!?).

What kernel version you have?

Reply With Quote
  #12  
Old September 25th, 2002, 05:34 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Unhappy ooops i forgot the ver no

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

Reply With Quote
  #13  
Old September 25th, 2002, 02:32 PM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 8
Type in uname -a and get a newer kernel than it says (or more suited for your rig).

Reply With Quote
  #14  
Old September 27th, 2002, 12:01 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
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.

Reply With Quote
  #15  
Old September 27th, 2002, 04:14 PM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 8
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > How do I ....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump