LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2004, 10:10 AM   #1
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Rep: Reputation: 15
Changing Filename on Samba Share from XP


I can't change the filename of a file on a Samba share from a Windows XP machine. Can anyone tell me why?
 
Old 04-01-2004, 11:16 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
possibly these files are created by other user. so xp client user doesnt have write permision. to see the permisions type:
ls -l

if u wanna change the permisions, use "chmod" command. or if u want to change owner of files, use "chown" command. for more info read the man pages. "man chmod" or "man chown"

other reason can be that u didnt configure samba to give user of xp client write access.
 
Old 04-01-2004, 11:47 AM   #3
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
I have already set permissions. I set ownership to root and group to smb which I have the users in. I have wrx set for owner and group permissions also. And windows users do have write access because we can all dump files into the share and also delete files from the share.
 
Old 04-01-2004, 12:02 PM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
here s my share that users can write if the permissions of files allow them to do.

[egemen]
comment = egemen
path = /egemen
valid users = coskun fatos mustafa mkorkmaz
read only = No
create mask = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
 
Old 04-01-2004, 12:06 PM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
do the files contains special charecters? like ?
 
Old 04-01-2004, 12:11 PM   #6
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
No special characters. What is the 0777 mask for. Is that like chmod 777??
 
Old 04-01-2004, 12:11 PM   #7
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
sorry for bad english.
 
Old 04-01-2004, 12:14 PM   #8
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
yeah.. its same. when a samba user creates a file, samba changes it to 777
 
Old 04-01-2004, 12:14 PM   #9
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
No special characters. What is the 0777 mask for. Is that like chmod 777??
 
Old 04-01-2004, 12:16 PM   #10
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
whats the 0 for then? ex: create mask = 0777
 
Old 04-01-2004, 12:19 PM   #11
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i dont know. i configured samba with swat. it created the smb.conf file. but its same with 777 (-rwxrwxrwx)
 
Old 04-01-2004, 12:21 PM   #12
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
can smb users write the files which was created by other smb user?
 
Old 04-01-2004, 12:21 PM   #13
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
by the way my icq uin 89572249
 
Old 04-01-2004, 12:26 PM   #14
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
Sorry no ICQ

I have changed permissions so that everything that goes to the directory is 770 (chmod -R 770). Still no luck...I have restart smb also.
 
Old 04-19-2004, 12:56 AM   #15
initself
Member
 
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 38

Rep: Reputation: 16
I'm working on the same problem...

http://lists.samba.org/archive/samba...ch/025695.html

This led me at least to take a deeper look at the man pages for smb.conf but I haven't quite seen the light. Maybe you will.

mb
 
  


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: when changing files on samba share from windows system, changes do not appear zero79 Linux - Software 1 06-13-2004 06:58 PM
Can't change filename with SMB share InEeDhElPlInUx Linux - Security 0 04-01-2004 08:08 AM
Changing format of filename when ripping cd's with konqueror JHuizingh Linux - Software 2 07-31-2003 03:14 AM
Changing to a directory with a space in the filename? guitargeek Linux - General 5 02-13-2003 06:38 PM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 05:42 PM


All times are GMT -5. The time now is 04:08 PM.

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