Re: [newbie] Permissions to /mnt

2000-02-23 Thread Neville Cobb

I experienced the same problem after installing Mandrake 7.0.2 and it had
nothing to do with the fstab settings. The problem was in the actual
permissions of the DOS hda1 mount point  in the mount directory. The
permissions were set to:

owner - root rw
group - root r

I changed the group to user (there may be a way) and then I had no problem
writing to the windows partition.  You need to be logged in as root to alter
the permission.

group - user rw

Nev 


[EMAIL PROTECTED] wrote:

> Someone else on the list is attempting to dothe same thing as myself.
>
> Basically, root has the ability to write files back to my DOS partitions,
> whereas 'steve', my normal user does not.
>
> This is very incovenient as it means I have to run my distributed.net
> client under root to allow it to write back to the buff-out file (located
> in /mnt/D/Utilities/distributed.net/).
>
> I'd like to do two things:
>
> Give 'steve' permission to write to this drectory. My attempts at chmod'ing
> permisions to rwxrwxrwx as root have failed - no change in permissions.
>
> Run dnetc (the distributed.net client) from the user 'steve' and have it
> run with root permisssions. I've chown'd it to root, I've performed a
> 'chmod +s dnetc' and I've changed the owner of the directory it live in to
> root. No joy - it still runs with 'steve' permissions. The only way I can
> get it to run with root's permissions is to su to root and then fire it up.
>
> I'm missing something obvious out, and I can't for the life of me, see it!
>
> Steve Flynn
> IBM MVS Operations Analyst



RE: [newbie] Permissions to /mnt

2000-02-21 Thread Mike

On Mon, 21 Feb 2000, you wrote:
> DOH!
> 
> I think I've replied to a list mesasge and sent it to you by accident
> or something! I need a lie down! :)
> 
Yo Steve, I am at home now and lost your email :-(

If you happen to be around, please resend it to me here..

Cheers:

Mike Perry



Re: [newbie] Permissions to /mnt

2000-02-21 Thread Audrey Beck

[EMAIL PROTECTED] wrote:
> 
> Bingo!
> 
> I'll give this a shot tonight.
> 
> Can someone point me to information in the man pages about this - I have
> beenthrough everything I can think of and readas much as I could, but I
> guess I must have missed it. How did you guys figure this out? (You're
> going to say "We clicked 'HELP'in LinuxConf" aren't you!)
> 
> Steve Flynn
> IBM MVS Operations Analyst

I don't know where it's documented.  Maybe in man mount?  I've just been
reading this list for a long time and getting through problems one step
at a time.




RE: [newbie] Permissions to /mnt

2000-02-21 Thread steve . flynn



DOH!

I think I've replied to a list mesasge and sent it to you by accident
or something! I need a lie down! :)

Someone, I forget who, pointed out that mounting DOS partitions with the
user keyword in fstab should allow ANY userid on the box to write to them,
I was exclaiming that it sounds just about right to solve my problem of
being able to save files to my DOS partitions as root, but not as my normal
non-privelleged userid. Maybe you might nied to do something similar when
you mount your burner - after all, I guess you can burn to it as root, but
not as "normal" user.

I do recall someone who sounded knowledable (Denis?) on Friday saying
burning should always be done by root anyway, to ensure underruns don't
occur (or something!). However, at the moment, I can mount DOS partitions
but only root can write to them. You can mount your burner but only root
can write to it yeah?

If I can get this DOS partition mount to work for all users, it'll probably
be adaptable to your burner question.


Am I making any sense? :)



Steve Flynn
IBM MVS Operations Analyst



Mike Perry <[EMAIL PROTECTED]> on 21/02/2000 13:55:19

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:    (bcc: Steve Flynn/UK/Contr/IBM)
Subject:  RE: [newbie] Permissions to /mnt




Hi Steve!

Pardon my ignorance, but give what a shot?

My interest is because whilst I have our burner working
correctly under linux as root I have so far been unable
to burn as a normal user and perhaps I may get an
inkling as to what to do from your "bingo" :-)

Cheers4Now...

Michael Perry.
R&D. Dep. Netafim Magal.
<<<>>>


> -Original Message-
> From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent:   Mon 21 February 2000 14:07
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Permissions to /mnt
>
>
>
> Bingo!
>
> I'll give this a shot tonight.
>
> Can someone point me to information in the man pages about this - I have
> beenthrough everything I can think of and readas much as I could, but I
> guess I must have missed it. How did you guys figure this out? (You're
> going to say "We clicked 'HELP'in LinuxConf" aren't you!)
>
>
>
> Steve Flynn
> IBM MVS Operations Analyst
>
>
>
>





RE: [newbie] Permissions to /mnt

2000-02-21 Thread bchikkab



Hi
Can someone tell me how to do Wake on Lan using 3COM 509B or Intel 100+ PRo
Management adapter. The mother board has the capability and the ethernet cards
have them. But does Linux-Mandrake 7.0 or 6.1 has something like a magic packet
or LDCM that i can accomplish this. Any help will be greatly appreciated.

Thanks

Bishu
Applications




RE: [newbie] Permissions to /mnt

2000-02-21 Thread Mike Perry

Hi Steve!

Pardon my ignorance, but give what a shot?

My interest is because whilst I have our burner working
correctly under linux as root I have so far been unable
to burn as a normal user and perhaps I may get an
inkling as to what to do from your "bingo" :-)

Cheers4Now...

Michael Perry.
R&D. Dep. Netafim Magal.
<<<>>>


> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Mon 21 February 2000 14:07
> To:   [EMAIL PROTECTED]
> Subject:  Re: [newbie] Permissions to /mnt
> 
> 
> 
> Bingo!
> 
> I'll give this a shot tonight.
> 
> Can someone point me to information in the man pages about this - I have
> beenthrough everything I can think of and readas much as I could, but I
> guess I must have missed it. How did you guys figure this out? (You're
> going to say "We clicked 'HELP'in LinuxConf" aren't you!)
> 
> 
> 
> Steve Flynn
> IBM MVS Operations Analyst
> 
> 
> 
> 



Re: [newbie] Permissions to /mnt

2000-02-21 Thread steve . flynn




Of course! :)


Steve Flynn
IBM MVS Operations Analyst



Chuck <[EMAIL PROTECTED]> on 18/02/2000 03:01:38

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Steve Flynn/UK/Contr/IBM)
Subject:  Re: [newbie] Permissions to /mnt




You will of course let the list know how you solve this (thinking
optimistically I am). Actually I'm shocked that more users don't seem
to have the need to write to vfat partitions!

Good luck Steve.


On Thu, 17 Feb 2000, you wrote:
> I've been using LinuxConfto set my fstab file up. It all mounts, without
> problems. Even got the CD-burner to mount after working out it was sr0.
>
> Trouble is, only root has write permissions to everything. 'steve' only
has
> read permissions to the vfat mounted partitons. I think I can get around
> this buy mounting them with uid=500 and gid=500 in the mount options in
> fstab. Hwever, suppose this was a "real" system, with say 10 other
> group-id's. Only people in group 500 (my group) would then have write
> access - yes? What about the guys in group 501 or 765?
>
> There must be another way to permit all users, irrespective of group or
> user id to write to these partitons, but I'll be buggered if I can find
it!
> Of course, I'm back at work now, so I can't just have a look! :(
>




Re: [newbie] Permissions to /mnt

2000-02-18 Thread Audrey Beck



[EMAIL PROTECTED] wrote:
> 
> I've been using LinuxConfto set my fstab file up. It all mounts, without
> problems. Even got the CD-burner to mount after working out it was sr0.
> 
> Trouble is, only root has write permissions to everything. 'steve' only has
> read permissions to the vfat mounted partitons. I think I can get around
> this buy mounting them with uid=500 and gid=500 in the mount options in
> fstab. Hwever, suppose this was a "real" system, with say 10 other
> group-id's. Only people in group 500 (my group) would then have write
> access - yes? What about the guys in group 501 or 765?
> 
> There must be another way to permit all users, irrespective of group or
> user id to write to these partitons, but I'll be buggered if I can find it!
> Of course, I'm back at work now, so I can't just have a look! :(
> 
> Steve Flynn
> IBM MVS Operations Analyst
I think the option you are looking for is "user".  That's what I'm using
and I can do everything I need as a user.  mount, unmount, read, write,
execute etc.




Re: [newbie] Permissions to /mnt

2000-02-18 Thread Oliver L. Plaine Jr.

On Thu, 17 Feb 2000 20:01:38 -0700,Chuck said to Steve

>You will of course let the list know how you solve this (thinking
>optimistically I am). Actually I'm shocked that more users don't seem
>to have the need to write to vfat partitions! 
>
>Good luck Steve.
>
>
>On Thu, 17 Feb 2000, you wrote:
>> I've been using LinuxConfto set my fstab file up. It all mounts, without
>> problems. Even got the CD-burner to mount after working out it was sr0.
>> 
>> Trouble is, only root has write permissions to everything. 'steve' only has
>> read permissions to the vfat mounted partitons. I think I can get around
>> this buy mounting them with uid=500 and gid=500 in the mount options in
--

Fri, 18 Feb 2000  03:32:22

If I don't really understand the question, forgive me guys, but I just
set my Mandrake 6.1 to  Both read and write to Vfat W95a partition and
it will write to MS windows as $ user

As Chuck hinted, I had a need to transfer files both ways as I have no
suitable Modem for Linux and must do all my online projects in W95a
for now...

None of the procedures that I found on the "how to's" or websites
seemed to work at all...so I took a procedure for mounting a CD ROM
and country boy hacked it for my purposes.

#mkdir  /mnt/vfat
#chmod 777 /mnt/vfat

#pico /etc/fstab

add a line in /etc/fstab  (I used the stuff that was already there as
a sort of guide)

/dev/hda1/mnt/vfat   user,noauto0 0

choose write and exit...pico will ask for a file name...dont try to
manufacture one...instead choose  list...it will show a list...select
from that and it will write  about a dozen lines..

>From there I went to startx as $ user and hit the Icon and for the
first time I got my windows system W95a.I transferred several meg
of files up to Linux and wrote a few back as a test..it worked
flawlessly...

also the hda1 2gW95 drive started showing up in df with a line of
data like the Linux drives do.

Disclaimer:;;; I gave no thought to security here as my box does not
reach outside lines and I am the only operatorit seems like it
could be a breach to set permissions like this?

If I did not understand the question, and this is a simplistic answer
I apologize...I have only been a Linux expert for two days..

Later
Olly P.



Re: [newbie] Permissions to /mnt

2000-02-17 Thread Chuck

You will of course let the list know how you solve this (thinking
optimistically I am). Actually I'm shocked that more users don't seem
to have the need to write to vfat partitions! 

Good luck Steve.


On Thu, 17 Feb 2000, you wrote:
> I've been using LinuxConfto set my fstab file up. It all mounts, without
> problems. Even got the CD-burner to mount after working out it was sr0.
> 
> Trouble is, only root has write permissions to everything. 'steve' only has
> read permissions to the vfat mounted partitons. I think I can get around
> this buy mounting them with uid=500 and gid=500 in the mount options in
> fstab. Hwever, suppose this was a "real" system, with say 10 other
> group-id's. Only people in group 500 (my group) would then have write
> access - yes? What about the guys in group 501 or 765?
> 
> There must be another way to permit all users, irrespective of group or
> user id to write to these partitons, but I'll be buggered if I can find it!
> Of course, I'm back at work now, so I can't just have a look! :(
> 
> Steve Flynn
> IBM MVS Operations Analyst
> 
> 
> 
> Denis Havlik <[EMAIL PROTECTED]> on 16/02/2000 17:23:08
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   [EMAIL PROTECTED]
> cc:(bcc: Steve Flynn/UK/Contr/IBM)
> Subject:  Re: [newbie] Permissions to /mnt
> 
> 
> 
> 
> :~>Someone else on the list is attempting to dothe same thing as myself.
> :~>
> :~>Basically, root has the ability to write files back to my DOS
> partitions,
> :~>whereas 'steve', my normal user does not.
> 
> This is a mount option for fat/vfat. You have to change it in /etc/fstab.
> HINT: linuxconf is convenient for this task
> 
> cu
>  Denis



Re: [newbie] Permissions to /mnt

2000-02-17 Thread steve . flynn




I've been using LinuxConfto set my fstab file up. It all mounts, without
problems. Even got the CD-burner to mount after working out it was sr0.

Trouble is, only root has write permissions to everything. 'steve' only has
read permissions to the vfat mounted partitons. I think I can get around
this buy mounting them with uid=500 and gid=500 in the mount options in
fstab. Hwever, suppose this was a "real" system, with say 10 other
group-id's. Only people in group 500 (my group) would then have write
access - yes? What about the guys in group 501 or 765?

There must be another way to permit all users, irrespective of group or
user id to write to these partitons, but I'll be buggered if I can find it!
Of course, I'm back at work now, so I can't just have a look! :(

Steve Flynn
IBM MVS Operations Analyst



Denis Havlik <[EMAIL PROTECTED]> on 16/02/2000 17:23:08

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Steve Flynn/UK/Contr/IBM)
Subject:  Re: [newbie] Permissions to /mnt




:~>Someone else on the list is attempting to dothe same thing as myself.
:~>
:~>Basically, root has the ability to write files back to my DOS
partitions,
:~>whereas 'steve', my normal user does not.

This is a mount option for fat/vfat. You have to change it in /etc/fstab.
HINT: linuxconf is convenient for this task

cu
 Denis
-
Mag^H^H^HDr. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
Mandrakesoft||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179
---oOO--(_)--OOo-
February 17-th 2000: The Linux Demo Y2k Day!!!






Re: [newbie] Permissions to /mnt

2000-02-16 Thread Denis Havlik

:~>Someone else on the list is attempting to dothe same thing as myself.
:~>
:~>Basically, root has the ability to write files back to my DOS partitions,
:~>whereas 'steve', my normal user does not.

This is a mount option for fat/vfat. You have to change it in /etc/fstab.
HINT: linuxconf is convenient for this task

cu
Denis
-
Mag^H^H^HDr. Denis Havlik  
Mandrakesoft||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-
February 17-th 2000: The Linux Demo Y2k Day!!!



[newbie] Permissions to /mnt

2000-02-16 Thread steve . flynn




Someone else on the list is attempting to dothe same thing as myself.

Basically, root has the ability to write files back to my DOS partitions,
whereas 'steve', my normal user does not.

This is very incovenient as it means I have to run my distributed.net
client under root to allow it to write back to the buff-out file (located
in /mnt/D/Utilities/distributed.net/).

I'd like to do two things:

Give 'steve' permission to write to this drectory. My attempts at chmod'ing
permisions to rwxrwxrwx as root have failed - no change in permissions.

Run dnetc (the distributed.net client) from the user 'steve' and have it
run with root permisssions. I've chown'd it to root, I've performed a
'chmod +s dnetc' and I've changed the owner of the directory it live in to
root. No joy - it still runs with 'steve' permissions. The only way I can
get it to run with root's permissions is to su to root and then fire it up.

I'm missing something obvious out, and I can't for the life of me, see it!

Steve Flynn
IBM MVS Operations Analyst