LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-21-2011, 01:57 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
samba share cant delete files from window machine


hello

we have a sambe share from our window pc, we cant delete or cut/paste file however creation of new file r possible, where we give full permission.

the samba username is premiaadmin, where all permission given like root see below

[root@tmsrvr2 ~]# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root@tmsrvr2 ~]# setfacl -m uremiaadmin:rwx /premia
[root@tmsrvr2 ~]# getfacl /premia
getfacl: Removing leading '/' from absolute path names
# file: premia
# owner: root
# group: root
user::rwx
userremia:r-x
userremiaadmin:rwx
group::r-x
mask::rwx
other::r-x

[root@tmsrvr2 ~]# ls -lathd /premia
drwxrwxr-x+ 9 root root 4.0K Jun 20 16:21 /premia
[root@tmsrvr2 ~]# cd /premia
[root@tmsrvr2 premia]# ls -lathd /premia
drwxrwxr-x+ 9 root root 4.0K Jun 20 16:21 /premia
[root@tmsrvr2 premia]# ls
app_tmsa finalbin_tmsa finalbin_tmsa2 payrollbin_tmsa payrollbin_tmsa2 premiabin_tmsa premiabin_tmsa2
[root@tmsrvr2 premia]# ls -lathd /premia
drwxrwxr-x+ 9 root root 4.0K Jun 20 16:21 /premia
[root@tmsrvr2 premia]# ls -lath /premia
total 304K
drwxrwxr-x+ 9 root root 4.0K Jun 20 16:21 .
drwxrwxr-x 2 root root 4.0K Jun 20 16:19 app_tmsa
drwxr-xr-x 4 root root 44K Jun 20 16:16 payrollbin_tmsa2
drwxr-xr-x 3 root root 72K Jun 20 16:15 premiabin_tmsa2
drwxr-xr-x 3 root root 36K Jun 20 16:15 finalbin_tmsa2
drwxr-xr-x 31 root root 4.0K Jun 20 08:52 ..
drwxrwxr-x 3 root root 28K Jun 19 11:08 finalbin_tmsa
drwxr-xr-x 4 root root 36K Jun 14 14:33 payrollbin_tmsa
drwxrwxr-x 3 root root 60K Feb 16 09:08 premiabin_tmsa
 
Old 06-21-2011, 10:20 PM   #2
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
What distro are you using?


Please review the permission in your Linux Machine samba Server.
Write and Browseable Permission should be yes.

Last edited by tailinlinux; 06-21-2011 at 10:28 PM.
 
1 members found this post helpful.
Old 06-22-2011, 12:53 AM   #3
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Original Poster
Rep: Reputation: 15
yes i use centos 5.6 and it was usefull to get info anyway i have solve this now
 
Old 06-22-2011, 12:58 AM   #4
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Smile

Quote:
Originally Posted by salimshahzad View Post
yes i use centos 5.6 and it was usefull to get info anyway i have solve this now
Sir please provide us steps how you have solved the problem.
To help other user having a problem same like you have.

Thanks. Then mark this thread as solved.
 
  


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
share folders in linux machine to windows machine except samba nikeshp Linux - Newbie 3 02-21-2011 08:06 PM
cant delete files from samba share from vista machine get permission error Elnegro8 Linux - Server 3 02-20-2009 07:17 AM
How to share files between my linux virtual machine and window vista host? huy_china Linux - Newbie 8 10-07-2008 04:42 PM
How to Transfer files between Linux machine and Window Machine rktech83 Linux - Networking 7 03-14-2006 03:10 AM
samba share with write but not delete Red Squirrel Linux - Software 7 08-29-2004 06:12 PM


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