LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2007, 07:51 PM   #1
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
permissions problem with samba


ok i searched and didnt find a question similar to this....

i have a network of 5 systems 3 windows 1 Debian linux and 1 samba server....

i got my samba server working thanks to you great people [insert link here] and i can access it with read write execute permissions on the 3 windows.....

but i had a small bit of trouble mounting it to the Debian computer i got it mounted thanks to you great people again the link to that is here

so now come to you for (hopefully) the last of my server problems....

using

Code:
su
[password]
mkdir /media/disk
chmod a=rwx /media/disk
mount -t cifs -o username="tom",password="...." //192.168.1.105/20gig /media/disk
konqueror /media/disk
i got it mounted to my Debian computer as root user

although i can still access and execute as user t (yes my user name is "t") i dont feel like having to log in as root to write to it

ive tried chmod-ing everthing i could think of still nothing....


any thoughts?
 
Old 09-10-2007, 08:16 PM   #2
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
is user "t" on Debian box have the same user & group ids on the samba server?
 
Old 09-10-2007, 08:23 PM   #3
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Original Poster
Rep: Reputation: 30
ahhhh thats it thanks on the samba server all users are root.... ill work on that now

ok so theres a user t on the server now same password as the other computer do i add the t user on the server to the samba group???

if so how from unix commands

Last edited by tommytomthms5; 09-10-2007 at 08:29 PM.
 
Old 09-10-2007, 09:05 PM   #4
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Original Poster
Rep: Reputation: 30
eh this is not numbro uno on my priorities ether.... ill just do things as root.... dont worry bout it folks if you solve it yay but if you dont you dont....
 
Old 09-10-2007, 10:49 PM   #5
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
tommy,

you still need to create a samba password for user t. Here is the command to create a samba password for t:

smbpasswd -a t

Once, you create the password execute this command to see your share point on your samba server:

smbclient -L sambaserver -U t
 
  


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
Samba Permissions Problem jorbot Linux - Networking 3 06-09-2008 05:53 AM
Samba permissions problem Hans Vanpee Linux - Networking 2 01-27-2006 10:43 AM
Samba permissions problem mago Slackware 7 12-24-2005 01:18 PM
Samba problem - no permissions Seventh Linux - Software 5 11-08-2005 06:05 AM
Samba Permissions Problem gigglesnorter Linux - Software 0 05-24-2004 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration