LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   permissions problem with samba (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-problem-with-samba-583738/)

tommytomthms5 09-10-2007 06:51 PM

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?

cojo 09-10-2007 07:16 PM

is user "t" on Debian box have the same user & group ids on the samba server?

tommytomthms5 09-10-2007 07:23 PM

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

tommytomthms5 09-10-2007 08:05 PM

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....

cojo 09-10-2007 09:49 PM

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


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