LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2004, 08:59 PM   #1
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Rep: Reputation: 15
only root can rw my xp share!


First off, thank you all. This is THE linux site. I have been configuring my Fedora Core 1 almost to perfection without having to ask a single question; it is all here! Now I seem to be having a problem that no one else is having:

I have shares on my XP box, things like audio and website folders.
I can literally mount the shares any way I want, all crinkum crankum, and I can access them with all accounts on my Fedora box. BUT!

I can't delete or rename things in the shares in nautilus or konkueror with my user account, no matter how I mount them - but if I browse to the website dirs in bluefish I can save over my php files!

If nautilus is launched in terminal as SU I can do whatever I want in the shares, so it's not on XP's end.

smbmount //Q/qe /home/aaron/qe -o username=aaron password=poop uid=500 gid=500 fmask=777 dmask=777 rw

I am quite sure that I have tried every smbmount and mount -t smbfs command under the sun. Is there anyone with XP and Fedora that has done this no problem that would like to share their commands?? What IS the deal?

OH, and feel free to talk geek to me, I have gedited half my damn config files already, fixed the firefox profile manager problem, configed my mouse side buttons, enabled my keyboard multimedia keys, and all, I might add, with the help of this community.

Last edited by devfreak; 03-22-2004 at 09:01 PM.
 
Old 03-22-2004, 09:13 PM   #2
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
I assume you are using fat32? If you are, use paste this line in your "/etc/fstab" file. Replace /dev/hda4 with the correct number for your windows partition.

/dev/hda4 /windows vfat rw,user,noauto,exec 0 0

Feel free to change the mount point to whatever you prefer.
Noah
 
Old 03-22-2004, 09:19 PM   #3
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
No no, sorry, these are network shares. That's why I'm using smbmount.
 
Old 03-22-2004, 09:26 PM   #4
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Oh! Sorry, I didn't catch that. I can't help you there. Sorry
Noah
 
Old 03-22-2004, 09:28 PM   #5
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
If only I could get the shares to act for all users the way they act for root! Poop!!
 
Old 03-22-2004, 09:36 PM   #6
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Did you try changing permissions for that user?
Noah
 
Old 03-22-2004, 09:55 PM   #7
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
I sure did, this is what I get:
[root@i-200 /home/aaron]# chmod 777 qe
chmod: changing permissions of `qe' (requested: 0777, actual: 0755): Operation not permitted

Wha??

Last edited by devfreak; 03-22-2004 at 09:59 PM.
 
Old 03-22-2004, 10:30 PM   #8
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
Along with my terminal illness...

If I go into nautilus as root and I click the non-disabled checkboxes for write permissions they check and then immediately uncheck!
 
Old 03-22-2004, 10:50 PM   #9
javierj
LQ Newbie
 
Registered: Mar 2004
Location: Guatemala
Distribution: suse 9,knoppix
Posts: 24

Rep: Reputation: 15
I might be wrong but as i believe its posible to type in /etc/fstab the line to automatically mount that share , and you can put the rw flag,

have you tried with chown żż
 
Old 03-22-2004, 10:57 PM   #10
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
Here is me trying to own it and then letting root own it and then trying to own it again:

[root@i-200 aaron]# chown 500 qe
chown: changing ownership of 'qe': Operation not permitted
[root@i-200 aaron]# chown 0 qe
[root@i-200 aaron]# chown aaron qe
chown: changing ownership of 'qe': Operation not permitted

Seriously, this isn't funny. In the past I haven't gotten fstab to even mount things.

Oh, and if it makes a difference, when I mount things with username=Aaron and password=poop it still asks me my password before it commits. Does that usually happen in other distros?

Thank you guys so much. If you need help with ps2 intellimouse explorers or logitech ellite setups let me know!

Last edited by devfreak; 03-22-2004 at 10:58 PM.
 
Old 03-22-2004, 11:06 PM   #11
javierj
LQ Newbie
 
Registered: Mar 2004
Location: Guatemala
Distribution: suse 9,knoppix
Posts: 24

Rep: Reputation: 15
well, maybe you can use instead of a uid=500 (I think thats a normal user, right???) use the root number and, use the rw flag and have you typed commas between the flags??

Last edited by javierj; 03-22-2004 at 11:08 PM.
 
Old 03-23-2004, 07:33 AM   #12
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Original Poster
Rep: Reputation: 15
Jeeeeeeeeeeeeeeeeeeeez it was the commas!!!! I can't believe how much time I have wasted on this. You guys are going into my will.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA not share in FC4 unless logged as root mbruffey Linux - Software 1 10-06-2005 02:31 PM
root samba share... batfastad Linux - Newbie 2 04-27-2005 10:36 PM
Cannot write to SMB share as user, can as root GT_Onizuka Linux - Networking 3 10-03-2004 06:52 PM
smb share root folder GarroteYou Linux - Networking 3 07-01-2004 11:18 PM
root access from W2K to SAMBA share slintz Linux - Software 1 06-03-2003 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration