LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11331 Comments 1 kribor is offline
Old

More weather getting scripts.

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

Same script two ways.

$ ./gwp7.sh 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: 63°F (17°C)
Humidity: 87 %
Wind Speed: N 9 MPH
Barometer: 30.14 in. (1020.5 mb)
Dewpoint:...
Member
Posted in Uncategorized
Views 262 Comments 0 peonuser is offline
Old

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):
Code:
mkdir /var/cache/apt/altdeb
Copy the relevant deb files to that place. Then generate a package index:
Code:
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 222 Comments 0 neonsignal is offline
Old

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 212 Comments 0 neonsignal is offline
Old

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 900 Comments 0 sag47 is offline

  



All times are GMT -5. The time now is 02:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration