Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[VU+ Solo2] Samba Shares and smb.conf help needed please!

sigpark

Forum Supporter
Donated Member
Joined
Apr 24, 2013
Messages
310
Reaction score
2
Points
18
I am having trouble with my knowledge of the ViX smb.conf and deleting files from my windows machine as I access the Samba share. If I create a file on the share I have no trouble deleting it (as owner I guess). If I copy a media file to the share, I do not have the permissions to delete the file. I seems it is permissions and I am sure the samba services are working correctly as configured, it's just that I don't understand!

The error I get is "You Require permission from Unix User\root to make changes to this file" when I try to delete a file I have copied

I am afraid I do not know too much about Linux, and I would like the solution to be "simple". I have been reading some of the forums and see lines for Create and Directory masks with specific permissions 0755. The smb.conf file is the standard ViX, and I have an internal and external USB disk - posted below. Any help appreciated!

[global]
load printers = no
guest account = root
log file = /tmp/smb.log
log level = 1
security = share
server string = Dreambox %h network services
workgroup = WORKGROUP
netbios name = %h
case sensitive=yes
preserve case=yes
short preserve case=yes
socket options = TCP_NODELAY
preferred master = no
local master = no
oplocks = no

[Root]
comment = Everything - take care!
path = /
read only = no
public = yes
guest ok = yes

[Harddisk]
comment = The harddisk
path = /media/hdd
read only = no
public = yes
guest ok = yes

[USB Harddisk]
comment = external usb harddisk
path = /media/usb
read only = no
public = yes
guest ok = yes
 
Folks - what a bummer!

It seems all folders created on W7 OS by default get the following attribute set: Read Only (applies to files in folder)

Samba shares honour this, so until the "read only" attribute is cleared either before or after copying data to your Linux Receiver (ViX Image), you will not be able to delete files from W7 OS explorer.

I hope this finding helps someone. Thanks to those that gave this issue some thought.
 
Hi,

I had this bookmarked on my lappy and I think I used it to set up access for my PC about a year ago (I have a tonne of bookmarks relating to Sat stuff so this maybe off target, sorry). I have not used Samba in maybe 6 months but recall being able to delete files through my Duo (I maybe wrong though). I set one folder only with full access but it is possible (if I recall correctly) to set the whole C drive. Anyway, have a read (if you have not already found this)

Code:
http://answers.microsoft.com/en-us/windows/forum/windows_7-security/i-want-full-access-to-all-my-files-and-folders-in/1567bf63-b1f5-40a5-be3f-150dce4c5aed
 
Thanks BubbleBalls - actually problem solved.

Copying media files from W7 OS to VU+Solo2 copied a RO attribute with it from W7 folder default "Read Only (applies to files in folder)". The Samba service sees this RO attribute, and sets the acl to Read+Execute only. Simply removing the Read Only flag from the files on the VU+Solo2 fixes the problem, and the Samba acl becomes a modify acl. which of course allows deletes. Such a basic thing - never thought to check the RO flag originally!
 
Happy days. it's always nice to have things working how we like them to.


Tapatālker
 

OpenViX Feeds Status

Back
Top