Fedora :: FC11 - Whats The New Trailing Dot In The Perms Field From Ls -la

Jul 19, 2009

Anyone know what the extra . (dot) in the permissions field is in the output of ls -la in FC11? A permissions field is normally 10 bytes, whats with the dot, a man an info on ls caused nothing obvious to jump out at me. A eleven byte perm field now with a trailing dot insead of the normal ten byte field

[root@osprey mark]# uname -a
Linux osprey 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux
[root@osprey mark]# ls -la /
total 110
drwxr-xr-x. 23 root root 4096 2009-07-17 20:56 .
drwxr-xr-x. 23 root root 4096 2009-07-17 20:56 ..
-rw-r--r--. 1 root root 0 2009-07-17 20:56 .autofsck

[Code]...

View 3 Replies


ADVERTISEMENT

Fedora :: /etc/security/console.perms.d/<*>.perms Files Being Ignored?

Jun 24, 2010

I am attempting to alter the permissions of /dev/snd and its contents to rw-rw-rw at boot time via the file /etc/security/console.perms.d/99-snd.perms, which contains the following lines:

##
<sound>=/dev/snd/* /dev/snd
<console> 0666 <sound> 0600 root
##

This has worked with previous Fedora installations up to Fedora 10, maybe even Fedora 11, but does not in Fedora 13. Further, the file /etc/security/console.perms.d/50-default.perms that has been present in the earlier versions of Fedora is missing; I don't even find it using 'yum whatprovides'. The Deployment Guide for Fedora 12 (there isn't one for Fedora 13 (yet?)), indicates that this is still the correct way to control console access to devices, and there are no mentions of any changes in the Fedora 13 Release Notes, but it is not working for mePS: I have verified that the permissions and selinux contexts of /etc/security/console.perms.d/99-snd.perms are correct although, in any case, it does not appear to be an selinux issue as booting with selinux disabled does not help. Searching through the various sysconfig, udev, etc.

View 2 Replies View Related

General :: Field-terminating Char Appears Within Field Values?

May 18, 2010

I've had a very colorful morning learning the innerparts of Linux's sort command, and have come across yet another issue that I can't seem to find an answer for in the documentation. I'm currently using -t, to indicate that my fields are split by the comma character, but I'm finding that in some of my files, the comma is used (between double-quotes) within values:

Jonathan Sampson,,foo@bar.com,0987654321
"Foobar CEO,","CEO,",ceo@foobar.com,,

How can I use a comma to terminate my fields, but ignore the occurences of it within values? Is this fairly simple, or do I need to re-export all of my data using a more-foreign field-terminator? (Unfortunately, I do not have any control over declaring a different terminator with this particular project).

View 2 Replies View Related

Programming :: Awk - Print A Field When Field Position Is Unknown ?

Mar 28, 2010

I'm trying to display fields from flat files where the first 8 fields are always the same. Fields 9 - n are varied but will contain specific patterns I'm after. I'm using this so far because "mySearch" is on each line I want to examine.

Code:

How would you pattern match and include 2 additional fields above field $9 but change field position from line to line?

View 12 Replies View Related

Red Hat / Fedora :: Whats Is A Purpose Of Kde Or Shall

Jan 9, 2010

Whats is kde or shall i say the purpose of kde.

View 9 Replies View Related

Programming :: Awk Printing From Nth Field To Last Field

Jan 8, 2010

How can print the, let's say 5nd field to the last field of every record (let's say we have 10 fields)?

I mean: I cant avoid to have to do:

print '{$5 $6 $7 $8 $9 $10}'

View 2 Replies View Related

Programming :: Php - Get A Return From A Field Within A Field?

Apr 27, 2009

I am creating a game with random variables. In the game I have created a dialogue exchange to players. I have set up a table with various returns and I inserted {$fields} to represent various random variables. When I call on the requested fields, I only see the field text and my field names. Am I supposed to parse something and call it back another way?

ie: myfield is: "You have won {$random1} silver! <br />{$wi['gender'] majesty rewards you well." the code I am using to call that field is:

View 11 Replies View Related

General :: Apt Keeps A Copy Of Perms It Set During Installs Like RPM Does?

May 6, 2010

I accidentally chowned my whole filesystem to nobody:nogroup.Stupid, I know.I'm wondering if apt keeps a copy of the perms it set during installs like RPM does?If not, is there any other way to restore the perms easily?If not, does anyone have a quick screenshot of their root level perms on Debian Hardy? I can at least start with a chown -R of the top level dirs and see how close that gets me.

View 2 Replies View Related

Ubuntu :: Change Just One Folder To Default To 775 Perms Instead Of 755?

Sep 12, 2010

I want multiple users to have full reign to. As a result, this share is already set up with the gid being set, so any files/folders that get written to it are automatically assigned the group "share", to which the users in question are members of this group "share."

The problem is, if Bob creates something, it comes down as bob:share with 755 perms, so Fred cannot write/delete. What it optimal is having 775 perms, but it's hard for an administrator to continually do this over and over when it'd be nice to just automatically set the perms on the fly to 775. How can I change just one folder to default to 775 perms instead of 755?

View 9 Replies View Related

Programming :: Get A Field Value Corresponding To Another Field Value?

Dec 14, 2010

i have a file : file.dat with following data

Code:

STORAGE PERCENTAGE FLAG:

/storage_01 64% 0
/storage_02 17% 1
/storage_03 10% 0
/storage_04 50% 1

I need to get the value of PERCENTAGE in a variable for a value of storage passed as variable i have tried the following without success like :

Code:

percentage='awk -vx="$defaultStorage" '{FS=OFS=" "}$1==x{print $2}1' file.dat

View 2 Replies View Related

General :: Where Did The Trailing Newline Characters Go

Aug 11, 2011

I am working with bash scripting and running into a weird issue where the trailing newline characters are being truncated.The file contents are something like:

Code:
# Catting the file shows the trailing
characters
cat /tmp/junk
first line
second line

[Code]...

Since I am working with config files, some of the applications/daemons fail to start if they fail to find trailing newline characters

View 4 Replies View Related

Programming :: Using Sed To Remove Preceding And Trailing Spaces In CSV?

Sep 16, 2010

the preceding and trailing spaces around the commas in my CSV without destroying my address field. I'm new to regex and sed so this is probably easy but I just can't do it without destroying the Address section. I'm using vanilla Linux and sed 4.1.3I'm willing to use any regex or even awk if needed.

Example:
I need this
randall , dean, 11111 , 1309 Hillside Ave., Warsaw, VA , 23591

[code]....

View 11 Replies View Related

Server :: Fun With Apache Rewrites Proxies And Trailing Slashes?

Mar 26, 2010

I have a back-end server behind a proxy machine. I would like non-SSL requests to the proxy to be rewritten into HTTPS requests to the back-end server, while not screwing up URLs with missing or misplaced trailing URL slashes. So far, on the proxy side, I have this in a virtual host for port 80:

Code:
ReWriteEngine On
# trailing slash fix:
RewriteCond %{SERVER_NAME} my.proxy.com$ [NC]
RewriteCond %{REQUEST_FILENAME} -d

[Code]...

But adding anything else to the URL fails, as the back-end server name gets stuck into the proxied [URL]... The rewrite log seems okay, I think. So I guess this is failing at the reverse proxy rule? Where am I going wrong?

View 1 Replies View Related

Red Hat / Fedora :: Capture Blank Field In /var/log/secure

Jan 7, 2011

An unsuccessful login via a tty by a known user and an unknown user will generate an almost exact line in /var/log/secure with the exception of the last field. To see this specifically do Ctrl-Alt-F2, for example. Now login with a known user and log out. Next attempt a login with a bogus user name which fails. Go back to your GUI enviroment (Ctrl-Alt-F7) and then tail /var/log/secure. For the known user the last field will be "user=some_name_here. The unknown user will not have a "user=" field.

How do I capture the two via different variables in bash?

For example: KNOWN_USER=`syntax that finds the user= field.` echo There is a user= field and the user is mmouse.

UNKNOWN_USER=`syntax that does NOT find the user= field` echo There is NO user= field and an unknown user tried to login.

If been exploring using sed to grab (or not grab) that last field, but haven't hit upon the right syntax yet.

View 5 Replies View Related

Red Hat / Fedora :: Prevent GDM From Hiding The Password Field?

Jun 24, 2011

I have searched far and wide but could not seem to find a way to prevent GDM from hiding the password field. I am the only user of my laptop, to login I first need to click the login name to show the password field and then I can enter the password. I would like to have the password field always visible and have focus.

View 2 Replies View Related

Ubuntu Servers :: Postfix Adds Trailing Slash To Users?

May 11, 2011

I followed this tutorial to setup a mail server, followed it to the letter, double/triple/quadruple checked everything for human error, and I can't find anything.[URL].. What's happening is it seems that postfix is adding a trailing slash to usernames when it does the user lookup, so they don't exist and then fail. I've attached the log below.

Code:
May 11 01:06:27 vmail postfix/smtpd[1688]: connect from localhost[127.0.0.1]
May 11 01:06:55 vmail postfix/smtpd[1688]: 3372E982BC: client=localhost[127.0.0.1]
May 11 01:07:18 vmail postfix/cleanup[1691]: 3372E982BC: message-

[Code]...

View 1 Replies View Related

Programming :: Delete Trailing Slashes Using Bash On-board Means?

Dec 8, 2010

I prefer to delete trailing slahes from pathes. Until now I used sed:

Code: $ myPath=/home/ladygaga///
$ echo "$myPath" | sed 's//*$//'
/home/ladygaga I played around to accomplish the same with on-board means of bash without using sed, but for example this line only deletes one trailing slash:
Code: $ myPath=/home/ladygaga///
$ echo ${myPath%/*}
/home/ladygaga// Is there a way to delete trailing slahes with just on-board means of bash?

View 2 Replies View Related

Fedora Networking :: DNS - Any Addresses Type In The Field Is Returning Server Error

Sep 10, 2009

I installed fedora lastnight, but any addresses I type in the field is returning server error, but if I type the IP address it will work, I reinstalled Fedora 11 about 3 times, samething.

View 1 Replies View Related

Fedora :: Get Mp3's Working On FC11?

Dec 7, 2009

On fc7-10 I was able to get them going after installing gstreamer packages with yum.

For fc11 I have followed half a dozen guides, installed numerous packages, but can't seem to figure out what is missing.

Anyone know what to install for mp3's on fc11 ?

View 3 Replies View Related

Fedora :: FC11 Eclipse Plugin WTP

Jun 12, 2009

i need the Web Tools Platform for eclipse. This is not a rpm-packet.But I can't install this with the software update from eclipse from URL...Cannot complete the install because one or more required items could not be found.

View 10 Replies View Related

Fedora :: Cannot Update To Kernel 2.6.29.6-217.2.3.fc11 (x86-64)

Aug 5, 2009

I attempted to install the new kernel 2.6.29.6-217.2.3.fc11 (x86-64) A depsolv message appears:

Quote:

ERROR with rpm_check_debug vs depsolve:
kernel-uname-r = 2.6.27.19-170.2.35.fc10.x86_64 is needed by (installed) kmod-wl-2.6.27.19-170.2.35.fc10.x86_64-5.10.79.10-1.fc10.x86_64
kernel-uname-r = 2.6.27.21-170.2.56.fc10.x86_64 is needed by (installed) kmod-wl-2.6.27.21-170.2.56.fc10.x86_64-5.10.79.10-2.fc10.x86_64

[Code].....

I upgraded from fc10; there was a residue of four fc10 2.27 kernels in /lib/modules from my fc10->fc11 upgrade; I moved them to a new subdirectory /usr/oldmodules, but the yum update command still produces the same failure message.

View 7 Replies View Related

Fedora :: Cannot Boot Into 2.6.29.6-217.2.7.fc11.x86_64?

Sep 9, 2009

I was on version 2.6.29.6-217.2.3.fc11.x86_64 and it asked me to update so I did. When I restarted I chose this version to install and after a brief loading screen it goes to a black screen with a cursor prompt and pretty much stays there. So I go back to 2.6.29.6-217.2.3.fc11.x86_64 which boots up just fine. But after a while I get some updates that won't install because it says that Packages are not compatible:Install - Linux Kernal 2.6.30.5-43.fc11(x86_64)

ERROR with rpm_check_debug vs depsolve:
kernel-uname-r = 2.6.27.19-170.2.35.fc10.x86_64 is needed by kmod-nvidia-2.6.27.19-170.2.35.fc10.x86_64-180.29-1.fc10.1.x86_64

[code]....

View 1 Replies View Related

Fedora :: Compiling 32 Bit Ffmpeg On 64 Bit FC11?

Oct 3, 2009

its been a long time since i was last on here, (2006)

I am trying to compile ffmpeg (and libraries) but im stuck. I am running x86_64 FC11 and want to compile 32 bit binaries so i can post them online for people to download, and mine is different then the ones hosted by the yum repo's.

here is what the output is

Code:
[rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=x86 --enable-cross-compile
[rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=i686 --enable-cross-compile

[Code].....

View 3 Replies View Related

Fedora :: After Upd FC10 To FC11 Yum Not Working?

Oct 12, 2009

I recently update FC10 to FC11 and Yum has stopped working. Also, "Add/Remove Software" has no packages listed. And, I have no Software repositories listed. When I try to run Yum I get the following:

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:

[Code]...

View 1 Replies View Related

Fedora Installation :: Preupgrade From FC8 To FC11?

Oct 14, 2009

it's possible to use preupgrade to go directly from FC8 to FC11.

Also, I'm wondering if this will allow me to avoid formatting my hard drive or not. I'll have backups ready just in case, but was hoping maybe I could get away with not having to do the old two-step shuffle with all my data.

View 2 Replies View Related

Fedora :: How To Install VimDiff On FC11

Nov 5, 2009

After a base install of FC11 i don't have vimdiff nor can i get it with yum

View 1 Replies View Related

Fedora :: F11 Only Works At 2.6.30.8-64.fc11.i586?

Nov 11, 2009

My F11 only works at the kernel 2.6.30.8-64.fc11.i586.

I have other two kernel installed, 2.6.30.9-96.fc11.i586 andn 2.6.30.9-90.fc11.i586.

But my fc11 cannot work with them.

So every time I start the system, I need to press tab key and choose the lower version kernel.

View 2 Replies View Related

Fedora :: Fc11 Sound Has Never Worked

Nov 27, 2009

on fc7-10 the sound on my laptop worked, in fc11 it is broken. just did a yum update How to get sound up and going?

[Code]...

View 3 Replies View Related

Fedora :: Rsyslog Not Working FC11?

Mar 3, 2010

Has anyone gotten rsyslog to accept messages from remote hosts? I've tried half a dozen methods for getting it to capture syntax, all unworking.

View 8 Replies View Related

Fedora Installation :: FC11 Over With The Same Packages As In FC10

Jun 9, 2009

I'd like to try a clean install instead of an upgrade from FC10 to FC11. What is a good way of getting the list of all packages that were installed through yum, and how do I feed that list to yum on a newly installed FC11?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved