LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-27-2006, 08:42 AM   #1
lucasm
LQ Newbie
 
Registered: Sep 2006
Location: Planaltina-DF, Brazil
Distribution: Debian Sarge
Posts: 4

Rep: Reputation: 0
Question how to mount windows shared folder as normal user


hi folks!!!


i'm trying to mount a windows share folder as a normal user, and i'm having problems.

the situation:
  • a windows xp computer (called comp_win)
    a shared folder called door (rw for anyone)
  • a debian-sarge computer with samba working good
    the user my_name in the groups: dialout, cdrom, floppy, audio, www-data, video, plugdev, users, hal

my /etc/fstab is:
Code:
//comp_win/door   /mnt/door    smbfs   gid=100,umask=000,users,exec,noauto     0       0
my door folder's permittion is:
Code:
drwxrwxrwx  2 root root 4096 2006-09-27 08:38 door
when i try to mount as root, it is successfully!
Code:
mount /mnt/door/
obs: after this command... i have to type the share's password.

but when i try to mount as the user my_name (using the same command above), i have the following error message:
Code:
my_name@my_debian:~$ mount /comp_win/door/
Password:
cannot mount on /comp_win/door: Operation not permitted
smbmnt failed: 1
what i didn't do to make this work???

note: i want to permit that some users may mount this shared folder without using the root password.

ps: sorry if this question is already done and solved in the forum... i looked for it and i haven't found any post about it.


regards,
 
Old 09-27-2006, 09:35 AM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
In file browser File->Connect to server
Choose windows share & fill in the ip, shared folder, username & name you want to give to connection & press connect.
This will create an icon on desktop which you can right click and select open to access

I use it to access windows shared folders from fc5 (File browser Nautilus), same should work for Debian too.

Last edited by sn68; 09-27-2006 at 09:39 AM.
 
Old 09-27-2006, 09:39 AM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Probably need to chown the door dir to the user or group who'll be mounting it.
 
Old 09-28-2006, 06:12 AM   #4
lucasm
LQ Newbie
 
Registered: Sep 2006
Location: Planaltina-DF, Brazil
Distribution: Debian Sarge
Posts: 4

Original Poster
Rep: Reputation: 0
sn68,

i'd like to do this in the console world.

[]'s
 
Old 09-28-2006, 06:14 AM   #5
lucasm
LQ Newbie
 
Registered: Sep 2006
Location: Planaltina-DF, Brazil
Distribution: Debian Sarge
Posts: 4

Original Poster
Rep: Reputation: 0
Crito,

i've already done it:

Code:
chwon 777 door
[]'s
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
How can I mount a Windows XP shared folder? mlse Linux - Networking 3 09-28-2006 06:36 AM
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 11:28 AM
Debian normal user cant mount windows shared partition silverstormboy Debian 3 01-14-2005 07:25 AM
normal user can mount? vacilus Linux - Software 1 12-22-2004 11:39 AM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration