LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 4.00 average.

HOWTO: Change umask, permissions, ownership etc. of a folder using bindfs

Posted 11-01-2011 at 04:43 PM by kribor

I find myself coming back to a situation where I want to be able to control who files should be created as (user or group) and which permissions the files should have in a specific folder.

For example I have a linux server with a shared music directory for people in the household that is shared using samba and depending on whether how clients connect the files/folders they create get a bunch of different permissions, groups etc.. Getting tired of configuring of trying to configure...
LQ Newbie
Posted in Uncategorized
Views 19526 Comments 1 kribor is offline
Old
Rating: 4 votes, 4.00 average.

Bash scripts and keyboard input

Posted 01-29-2012 at 02:43 PM by Nominal Animal

You can use Bash to read individual keypresses. Here is an example:
Code:
#!/bin/bash

# Reset terminal to current state when we exit.
trap "stty $(stty -g)" EXIT

# Disable echo and special characters, set input timeout to 0.2 seconds.
stty -echo -icanon time 2 || exit $?

# String containing all keypresses.
KEYS=""

# Set field separator to BEL (should not occur in keypresses)
IFS=$'\a'
...
Senior Member
Posted in Uncategorized
Views 12882 Comments 0 Nominal Animal is offline
Old
Rating: 2 votes, 4.00 average.

Automatically update flashplayer-plugin

Posted 07-11-2015 at 04:03 PM by jere21
Updated 07-20-2015 at 08:13 PM by jere21

Code:
ii  flashplugin-nonfree  1:3.6.1  amd64  Adobe Flash Player - browser plugin
Debian doesn't update the flashplayer-plugin automatically to avoid downloading an unchecked 3rd party proprietary binary. If you want to ignore that risk for convenience do the following:

/usr/local/bin/flash-update.sh
Code:
#!/bin/sh
update-flashplugin-nonfree --install

/etc/systemd/system/flash-update.service
Code:
[Unit]
Description=update-flashplugin-nonfree
...
LQ Newbie
Posted in Uncategorized
Views 1696 Comments 2 jere21 is offline
Old
Rating: 7 votes, 3.86 average.

How to answer questions without wasting too much time

Posted 11-30-2008 at 09:29 PM by ErV
Updated 02-21-2009 at 08:51 AM by ErV

Okay, I've just got through another flamewar, so I decided to write a some info about answering questions without wasting too much time in the process. The content is based on personal experience, my own point of view, and isn't supposed to be absolute truth or something. I also don't expect someone to agree with me. Recommendations are written in random order, and are supposed to prevent wasting too much time typing replies, or breaking your keyboard too quickly.
Beware! Some people probably...
ErV
Senior Member
Posted in Uncategorized
Views 11558 Comments 10 ErV is offline
Old
Rating: 4 votes, 3.75 average.

Easy Arch linux Setup Guide [USB included]

Posted 09-23-2009 at 11:13 PM by ~sHyLoCk~
Updated 09-23-2009 at 11:19 PM by ~sHyLoCk~

Originally Posted in my blog.

Ok Let me First tell you that this guide was not copy pasted from anywhere, so I must warn you that this is just my experience but the basic setup should work! I wrote this guide by request from my blog readers and also many people who have asked me for a long time. I guess what I'm trying to say is that don't follow this guide blindly and use your brain! Also I would like to ask you to refer this official guide if you run into any troubles!
...
Senior Member
Posted in Arch Linux
Views 4374 Comments 2 ~sHyLoCk~ is offline

  



All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
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