Search results for query: Read file name

  1. The following words were not included in your search because they are too short, too long, or too common: name
  1. Beastie7

    General FreeBSD Setup (New User)

    Go through vermadens tutorials on setting up a minimal openbox configuration. You don't have to use Openbox but the process involved applies to almost any minimal WM. Really pay attention to all of the configuration files involved and where they're placed. Due to FreeBSDs well design file system...
  2. rwatt

    How to have setfacl inheritance without execute permissions on files?

    I'm trying to figure out how you properly run setfacl on a directory and its contents without letting the execute permission "x" get assigned to files. I've been reading the forums and documentation the past few days, as well as trying different outcomes, and nothing seems to work. This is on...
  3. B

    TCP buffer in selecting from accepted TCP-connections

    Sounds like the problem was with the user code which was beaten into shape without really investigating the root cause. I was able handle 1000+ concurrent tcp connections on a 1995 era 100Mhz Pentium machine with 16MB of RAM without anything special but I didn't start 1000+ processes. It was all...
  4. Kai Burghardt

    rc.conf sanity check in reboot or better parsing?

    shutdown (or reboot) isn’t configurable, like, you can’t place a configuration file somewhere mandating such a check. (There’s /etc/rc.shutdown but it cannot block the request.) What you can do, though, is write your own wrapper script bearing the same name of the respective command, and place...
  5. E

    TCP buffer in selecting from accepted TCP-connections

    The case is actually old one. I hope I remember it correctly. There were multiple client processes forked after the accept-function. Each process were reading from a file descriptor from the accept. It was meant that there would be more than 1000 processes. Each client process would connect to a...
  6. S

    Typed racket , GUI, fahrenheit converter

    I just use a small script I wrote years ago, because I'd look up the temperature and my wife is more familiar with Celcius. So, I'd look up the temperature in Farenheit, from a local site. Then #!/bin/sh echo "Enter Farenheit temperature" read ftemp ctemp=$(echo "scale=1; ($ftemp - 32.0) * 5.0...
  7. B

    Solved Samba, can't find UNIX groups from Windows

    Platform: FBSD 15.0, Samba 4.16. Here is smb4.conf. [global] workgroup = RET server string = office samba server %v server role = standalone server passdb backend = tdbsam vfs objects = zfsacl fruit streams_xattr fruit:metadata = stream...
  8. T

    rc.conf sanity check in reboot or better parsing?

    If it is remote and I have to go visit it, it is unusable in my opinion. sysrc's check feature isn't intuitive and sysrc -f rc.test -a works the same as sh rc.test. Perhaps a new sysrc -t should default to useful defaults for testing mirroring apachectl -t. Either way having reboot do a...
  9. J

    rc.conf sanity check in reboot or better parsing?

    Use sysrc. You can check the config with sysrc -c. And your machine is not unusable. You can boot single user mode where you can mount the root filesystem read-write and edit the file manually.
  10. H

    ps/2 mouse stop responding in X, up to system crash

    Hi! Problem in short: In my usage scenario of X and mouse I got mouse stops working. If restart X session, functionality restores, if without restarting X plug in USB mouse, it moves the cursor, but after some time, or after plug-out system crushes. I'm running FreeBSD bsd15 15.0-RELEASE-p4...
  11. E

    Some samba/smb clients can go up one directory and i cant stop it

    So i have a samba server set up in a thick jail so that i can share files to the network. It is purely only for file sharing. The problem is that one of the smb clients (Total Commander Windows Share plugin) i use can go up one level in the directory to see names of the other shares and whatever...
  12. A

    jails mac.do usage in a jail

    WARNING 1: Seeing that you have received no additional responses in a while, with nothing but good intentions in my heart, especially helping you, I outsourced your case to a non-subject expert-in-training and below the horizontal line is what it had to say. WARNING 2: Use it all only as an...
  13. E

    Installing lynx with SSL support? No bundle.crt file

    I have installed Lynx Version 2.8.9rel.1 from the package. When the package installs, it says to read the " /usr/local/share/doc/lynx/docs/README.sslcerts" for instructions about adding SSL support. It appears I'm getting stuck where openssl can't find the "bundle.crt" file (see below)? 1.)...
  14. blackbird9

    Will FreeBSD be available in California in 2027?

    A really simple fix for a single machine is a site-blocking hosts file. I like Steven Black's one here, it works pretty well:- https://github.com/StevenBlack/hosts He provides different versions depending on what particular type of crud you want to block, I usually just get the one that blocks...
  15. J

    Shell What is the best way to implement -y (yes) option for POSIX shell script?

    I would approach it with a file method. If the data is sensitive you can use a FIFO instead (data is gone once consumed). This would require the least amount of modification to "prompt.sh". [wrapper-communication]cat script.sh #!/bin/sh # Note: no prompt, just setting a var. fd=$(mktemp -u)...
  16. tembun

    Shell What is the best way to implement -y (yes) option for POSIX shell script?

    Suppose we have two scripts: one that prompts for the input and one that acts as a wrapper for the first one: prompt: #!/bin/sh printf "Enter: " 1>&2 read input echo "You entered: ${input}" wrapper: #!/bin/sh ./prompt Now imagine that we want to implement the behaviour for the wrapper that...
  17. A

    /dev/backlight/backlight0: No such file or directory

    WARNING 1: Seeing that you have received no additional responses in more than 72 hours, with nothing but good intentions in my heart, especially helping you, I outsourced your case to a non-subject expert-in-training and below the horizontal line is what it had to say. WARNING 2: Use it all...
  18. A

    Confusing about default gateway with multiple FIB.

    Given that you are still not getting human answers, let's repeat the process. WARNING 1: Seeing that you have received no additional responses in more than 72 hours, with nothing but good intentions in my heart, especially helping you, I outsourced your case to a non-subject expert-in-training...
  19. C

    Solved gnome-keyring-daemon couldn't access control socket: /var/run/user/1001/key

    I'm using xfce. I will take a look at /usr/local/pam.d/lightdm, because I'm pretty sure I made some late night mistakes in there. Thank you for the help. I have a lot to learn.
  20. O

    Solved gnome-keyring-daemon couldn't access control socket: /var/run/user/1001/key

    Are you using GNOME or Xfce? It is no clear! Instead of reinventing the wheel, why not to use .xprofile. x11/gnome-shell provides this file, read pkg-message everything is explained. And .xinitrc is not used by GNOME for long time, neither by gdm. A full gnome shell session launches...
Back
Top