Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs
User Name


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 14597 Comments 1 kribor is offline

More weather getting scripts.

Posted 11-01-2011 at 10:24 AM by peonuser

Same script two ways.

$ ./ Polk FL

National Weather Service
__________________________________________________ ________________

Polk , FL
Current Local Conditions at:
Gilbert Field
Lat: 28.05 N Lon: 81.75 W Elev: 144 ft
Last Update: 11/01/11, 08:53 AM EDT
Weather: Fair
Temperature: 63F (17C)
Humidity: 87 %
Wind Speed: N 9 MPH
Barometer: 30.14 in. (1020.5 mb)
Posted in Uncategorized
Views 384 Comments 0 peonuser is offline

adding non-repository deb packages to apt

Posted 11-01-2011 at 05:48 AM by neonsignal

A local repository can be created for miscellaneous deb packages that are not part of a standard repository, so that they can be managed by apt-get.

Create a repository (it can be located anywhere):
mkdir /var/cache/apt/altdeb
Copy the relevant deb files to that place. Then generate a package index:
dpkg-scanpackages /var/cache/apt/altdeb /dev/null | gzip >/var/cache/apt/altdeb/Packages.gz
Add a line to...
Senior Member
Posted in Uncategorized
Views 359 Comments 0 neonsignal is offline

inserting unicode characters

Posted 11-01-2011 at 05:17 AM by neonsignal

The method for inserting unicode characters depends on the application.

For GTK based applications, a unicode character can be inserted by holding down ctrl-shift, typing 'u' followed by the hex code, and then releasing the ctrl-shift.

In vi, in insert mode, ctrl-v can be used, followed by 'u' and the hex code.

I do not know of a method for Qt based applications.

Of course, for entering significant amounts of non-ascii text, it can be useful...
Senior Member
Posted in Uncategorized
Views 292 Comments 0 neonsignal is offline

Limiting and blocking connections dynamically.

Posted 10-31-2011 at 03:46 PM by sag47
Updated 01-29-2014 at 11:14 AM by sag47

Today I feel like talking about limiting connections which get made to a server. There are a few ways to do it; some cooler than others. I'd like to feature some open source software while I'm at it.

Today I happened upon this thread which hilariously got closed for good reason. Once you wade through all the crap you'll see some pretty cool posts which explain how to limit incoming connections within a certain time period and other suggestions. I'll point out the most useful related...
Senior Member
Posted in Uncategorized
Views 1290 Comments 0 sag47 is offline


All times are GMT -5. The time now is 09:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration