LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 02-05-2016, 07:54 AM   #1
pglqmem
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Question Windows deletes symlink files on Samba share


Hi,

I cannot work out why Windows-7 is deleting all the files under a Unix symbolic link when the 'folder' is removed using Windows Explorer, even though the files & folders within the link have read-only Unix permissions.

My set up is as follows:

* Scientific Linux 7.1 Samba server running v 4.1.12
* Scientific Linux 6.7 file server running NIS (automounted homes &
data folders)
* Windows 7 SP3

Extracts from my smb.conf...

[global]

unix extensions = no

[home]
comment = Home Directories
path = /home/
browseable = yes
writable = yes
create mode = 0664
directory mask = 0775
public = yes
follow symlinks = yes
wide links = yes

Incidentally, if I try using Windows to remove a specific file within the symlink it does object with "permission denied", so I would have expected it to delete only the link rather than the whole directory structure.

Can anyone shed any light on this?

Thank you in anticipation,
Peter
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preserve symlink on samba share when copying in Windows environment slackware_newbie Linux - Server 3 01-08-2014 11:55 PM
[SOLVED] Mount points -- deleting them deletes remote Windows share? evi_snyder Linux - Newbie 1 07-07-2010 03:50 AM
samba deletes readonly files xrado Linux - General 2 04-21-2007 11:33 AM
help: when changing files on samba share from windows system, changes do not appear zero79 Linux - Software 1 06-13-2004 05:58 PM
howto: MAke a symlink to a samba share??? trey85stang Mandriva 1 03-14-2004 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration