GithubHelp home page GithubHelp logo

Comments (3)

dlandon avatar dlandon commented on August 16, 2024

The script is removing the text between the start and end tags #vfs_recycle_start to the #vfs_recyc.e_end.

The smb-extra.conf script was written by someone else and works fine. I may take a look at it sometime.

I have resolved the other two issues.

from recycle.bin.

roninkenji avatar roninkenji commented on August 16, 2024

Well the sed line doesn't

root@MediaStore:~# cat /boot/config/smb-extra.conf 
[global]
    unix extensions = Yes
    store dos attributes = Yes
    wins support = Yes
    force user = nobody
#vfs_recycle_start
#Recycle bin configuration
[global]
vfs objects = recycle
   recycle:repository = %P/.Recycle.Bin/
   recycle:directory_mode = 0777
   recycle:keeptree = Yes
   recycle:touch = Yes
   recycle:touch_mtime = Yes
   recycle:versions = Yes
   recycle:exclude = *.tmp,._.*,.DS*
   recycle:exclude_dir = .Recycle.Bin
#vfs_recycle_end
root@MediaStore:~# sed '/#vfs_recycle_start/,/#vfs_recycle_end/{//d}' /boot/config/smb-extra.conf 
[global]
    unix extensions = Yes
    store dos attributes = Yes
    wins support = Yes
    force user = nobody
#Recycle bin configuration
[global]
vfs objects = recycle
   recycle:repository = %P/.Recycle.Bin/
   recycle:directory_mode = 0777
   recycle:keeptree = Yes
   recycle:touch = Yes
   recycle:touch_mtime = Yes
   recycle:versions = Yes
   recycle:exclude = *.tmp,._.*,.DS*
   recycle:exclude_dir = .Recycle.Bin

Should have been:

root@MediaStore:~# sed '/#vfs_recycle_start/,/#vfs_recycle_end/d' /boot/config/smb-extra.conf 
[global]
    unix extensions = Yes
    store dos attributes = Yes
    wins support = Yes
    force user = nobody

from recycle.bin.

dlandon avatar dlandon commented on August 16, 2024

That code doesn't get executed. I'm removing it.

from recycle.bin.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.