• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Samba, can not delete files

Hello

I am sharing a direcory on my linux server,

[Sahred]
        comment = Pervasive document Shared
        path = /usr/local/psql/data
        force user = psql
        force group = pvsw
        guest ok = yes
        writeable = yes
        create mask = 0777
        directory mask = 0777

With the previous settings I am able to create files, rename files but not delete files...
users that connect to this folder belong to pvsw group

Do you know why ? and how to fix it?

Thank you

Dany
0
dnamroud
Asked:
dnamroud
  • 2
  • 2
1 Solution
 
grsteedCommented:
What are the permissions of the directory /usr/local/psql/data and the files on Linux? Have you verified that the create and directory masks are working as expected?

Gary
 
0
 
dnamroudAuthor Commented:
Hi Gary,

thank you for your reply, here are my asnwers

# ls -l /usr/local/psql
total 48
drwxr-xr-x    4 psql     pvsw         4096 Apr 19  2004 bin
drwxrwxrwx   25 psql     pvsw         8192 Apr 25 10:38 data
.....

ls -l /usr/local/psql/data
total 1667468
-rwxrwxrwx    1 psql     pvsw        37888 Nov 30 11:33 02610760
-rwxrwxrwx    1 psql     pvsw        18944 Nov 17 11:19 17707F10
drwxrwxrwx    3 psql     pvsw         4096 Mar 17 13:44 ANNA
.....

I believe everything is running fine and rights are correct...

Dany



0
 
rshooper76Commented:
This is what I have setup on my Samba server.

[shared]
        comment = Shared Directory
        path = /data/shared
        guest ok = no
        browseable = yes
        writeable = yes
        create mask = 777


My users can do everything in this directory.
0
 
grsteedCommented:
Here's a link to someone else that had the same problem.

http://www.linuxforum.com/forums/index.php?showtopic=159141

Basically his /var filesystem was full.

Gary
0
 
dnamroudAuthor Commented:
you are right Gary the /var filesystem was full
I erased some files from the spool and I need to verify with my users and I will let you know

thank you for your help

Dany
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now