Debian :: Why Access Time (atime) Does Not Change On Read

Oct 10, 2010

I have a question about the atime attribute. I wonder why the atime is not updated when the file is read. It is update only the first time the file is read.

For example:
antec:~# touch test
antec:~# stat test

[code]....

View 2 Replies


ADVERTISEMENT

Debian :: System Becomes Read-only After Some Time Running

Dec 2, 2010

It's the second time I've noticed this

~# /etc/init.d/sabnzbdplus restart
mktemp: failed to create file via template `/tmp/sabnzbdplus.XXXXXXXXXX': Read-only file system
/etc/init.d/sabnzbdplus: line 94: $TMPFILE: ambiguous redirect
Stopping SABnzbd+ binary newsgrabber:No process in pidfile '--retry' found running; none killed.
failed!

View 14 Replies View Related

Ubuntu :: Atime Option Being Ignored?

Jul 13, 2010

I need to enable atime on a specific drive. I edited /etc/fstab to include the atime option. After remounting, 'cat /proc/mounts' shows that the drive was mounted with relatime. The option noatime works. Why is the atime option being ignored?

The drive in question is using XFS.

View 2 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Debian Multimedia :: Shutdown Delay Time - How To Change It

Jan 18, 2015

I have Linux debian 7.7.0 i386-amd64 under VBox 4.3.20 and here is the problem:::

When I open the menu from Linux's top-right corner and click SHUT DOWN..., it shows the dialog with choices, and that Linux guest will automatically shutdown after 60 seconds and I need to change that delay value to 3 seconds. Of course I could just re-click Shut Down -button again, but I don't want to do it. Period.

By Googling I found these "instructions" for UBUNTU:

None of this worked on my 13.04 system. In the end I re-compiled gnome-session.

In gsm_shell.c and gsm_logout_dialog.c change #define AUTOMATIC_ACTION_TIMEOUT from 60 to 5

View 7 Replies View Related

Debian :: Save Excel 2007 Shared Workbooks - Server Change ''Groups - Read Only"

Feb 26, 2010

I am running Debian (Lenny) as my file server on a Windows network. I have multiple users accessing shared excel worksheets. I am the owner of these files and have no problem but if I save a shared workbook the file properties on the Linux server change ''Groups - Read Only, Others - Read Only''. I can reset them logged in as root but they change back every time I save the file from the XP machine (XP Home SP3). All other non-shared worksheets are fine.

View 1 Replies View Related

Debian Configuration :: Change The Automatic Fsck Execution At Boot Time To Be Above 30 Boots?

Aug 27, 2010

How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686

View 2 Replies View Related

Debian :: How To Change Access Banner

Feb 4, 2010

to be more secure, i would like to replace Debian Banner relating OS version etc by another one

View 1 Replies View Related

General :: Change The Creation Time Of All A Folder's Files To The Current Time?

Jun 19, 2011

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?

View 2 Replies View Related

General :: Change Time (Advanced Eastern Time) On Slackware 8.1?

Mar 24, 2010

I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.

Is there a way to force it to sync with my domain controler or even another online NTP server?

View 1 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Fedora :: How To Access Time Using <time.h>

Sep 27, 2010

how to access current date and time from the system through CMOS in C programmes in Fedora.

View 1 Replies View Related

General :: How To Read File In Real Time

Jan 3, 2011

I have a log file that I would like to examine during some changes under process that writes to this log.
Is there some way to open this file and read in real time changes written to it ?

View 5 Replies View Related

Programming :: Read In A File 1 Line At A Time?

Oct 22, 2010

i am trying to read in a file 1 line at a time and for some reason it stops printing out at about line 62,000.

i am doing this:
Code:
while(fgets(c0, 1085, fstream0) != NULL)

but after about 62,0000 lines it stops printing. no seg-fault, no core dump. it just stops printing to the terminal then returns me to the command line after a couple of minutes. as a hack i am doing split -l 50000 on the input and calling my program 5 times.is there some limitation on fgets that i am not understanding ?

View 8 Replies View Related

Programming :: Read Time Of /proc/net/tcp6 File

Dec 8, 2010

I am trying to read the /proc/net/tcp6 file of a huge server (chat server) for monitoring the tcp6 connection states.

My server's tcp6 file has more than 26000 lines. For monitoring the server connections, my monitoring tool has to read the /proc/net/tcp6 file quickly in a regular interval (5 secs) and process. Presently it takes minimum 6-7 seconds for reading the whole file.

My tool can able to read the normal file (26,000 lines) less than 1 second, but it is not possible to read the same size of proc file.

I have 2 questions:

1) Why proc file takes more read time than normal file?

2) Is there any way to read the /proc/net/tcp6 file more quickly?

View 2 Replies View Related

Programming :: Serial Port Data Read Time Interval?

Oct 30, 2010

I am writing a C program which reads data over serial port. While reading data, if I send my data(which is a 13 byte structure) periodic with a period of 1 second for 10 times I read it without problem and I read the data 10 times as I sent and as I expectBut if I send data continuousuly(without any time interval between each sending) 10 times I can only read 1 of them(I can only read it once).

View 11 Replies View Related

Debian :: Connection Breaks Time To Time / Sometimes Cannot Connect Automaticaly After Restart

Apr 22, 2010

Since the upgrade from Lenny to Squeeze on my Notebook Toshiba Satellite Pro U200 with Intel Pro/Wireless 3945 ABG I have wireless connection problems.The connection breaks time to time and sometimes cannot connect automaticaly after restart. BTW I didn't change anything on the wireless or network configurations on the notebook and on the wiereless router.

View 8 Replies View Related

Debian Configuration :: Restore From Hibernate Fails From Time To Time?

Apr 28, 2011

I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)

lspci says

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)

[code]....

I do have the hibernate package installed...

View 6 Replies View Related

Programming :: Set Period Of Time To Tcp Connection To Wait For Request Or Respond For Tcp Block Read

Feb 27, 2010

I wanted to know how can I set a period of time to a tcp connection to wait for request or respond for tcp block read. which system call or function I can use? Does any body know a very simple quick and easy reference on web for socket programing that has lots of socket programing examples in it?

View 1 Replies View Related

Debian :: Initial Ramdisk Freeze - One Time Yes And One Time No

Jan 13, 2016

I have a strange problem on my new installation of Debian "Stretch".

After "loading initial ramdisk" the pc freeze, but if I reboot it, then it doesn't freeze and so I could work.

So for work each time I have to boot and reboot the pc; the second time the pc works.

View 1 Replies View Related

Ubuntu :: READ ONLY Access To NTFS ?

Jun 1, 2010

I have Ubuntu 10.04 with Gnome and Windows XP on the same machine.

Using Nautilus 2.30.1 I can write into NTFS system partition from windows.

Howto setup just READ ONLY access to NTFS?

View 9 Replies View Related

General :: Set Read Only Access To One More Group?

Oct 15, 2010

We are aware that unix has three sets of permission such as owner, group and others. I have a requirement to have a read-only access to a folder and sub-folders and the group that currently holds can't be used. Because it has write privileges. I would rather not prefer to use others, because it opens to each user in the system.have read-only access for another group?

View 1 Replies View Related

Ubuntu :: HFS+ Is Read-only - How Do Change In Terminal

Mar 31, 2010

Basically i have a 1TB USB HDD that is formatted HFS+ (i used to use it attached to a hacked AppleTV, it has loads of media on it).

Appletv wasn't great, so now i have a lovely acer revo running XBMC Live, and it's blooming great. my problem is my USB drive mounts, but i think it's read-only, as i am struggling to sftp new files to it. so my question is:

How do i make the drive writeable?

I've read things about disabling journling, an fstab file, chown in terminal, but im really struggling.

In temrinal if i navigate to the /media folder and run ls -al, i get this: (note the usb drive is called AppleTV)

revo@XBMCLive:

How to make it read-write? i'm happy for it to have full write access by root, or all users or whatever. im sure its 1 line in terminal!

View 1 Replies View Related

Ubuntu :: Not Being Able To Change To Read-and-write

May 29, 2010

I just installed Ubuntu 10.04 on my system, and I put in a really old game CD for my really old computer. I cannot run the setup program , however because "it is not executable". I can't change this , because it is read-onlybut I can't chane this either. As I'm new to this, I was wondering .

View 5 Replies View Related

General :: No Read / Write Access To Ipod?

May 17, 2010

I'm using Arch right now and i'm having problems syncing my ipod with Amarok (KDE). Everytime I would want to sync a song, it would give me access denied. it is currently mounted at /tmp/ipodbxQtrU and i have tried using chmod with no luck. I was in root when i used "chmod -R user ipodbxQtrU" and it said operation not permitted.

View 1 Replies View Related

General :: Can't Access /etc/sshd_config To Read Or Edit?

May 9, 2011

What is going on here? I can't access /etc/sshd_config to read or edit it, even as root. (Using debian-live 6.01)

root@debian:/etc# ls -l /etc/ssh*
total 132
-rw-r--r-- 1 root root 125749 2010-02-28 01:37 moduli
-rw-r--r-- 1 root root 1616 2010-02-28 01:37 ssh_config
-rw-r--r-- 1 root root 2453 2010-03-13 17:32 sshd_config

[Code]...

I also checked the permissions for the parent file /etc, and root has rwx. Is this something peculiar to the overlay file system used in debian-live, or just another unix gotcha?

View 7 Replies View Related

General :: User Creation (with Only Read Only Access)

Feb 3, 2011

I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).

How would i proceed about this.

View 1 Replies View Related

Security :: Get Root Through TR069 And Read Access?

Jul 13, 2010

I have an ADSL modem and router, its OS is linux. It runs ftp service, and I can read files in its file system, but I have no permission to list files and to write files. It has TR069 protocol connections and can upgrade remotely.It has ssh, but not started.

View 1 Replies View Related

Server :: Cannot Assign Read Access To User

Feb 18, 2011

ls -al /guests

I want to be able to assign the group "readers" read access to guests/c1 but it says access denied. but it shows r-x acsess. i want to be able to control who has read access and not just give it to everybody.

View 2 Replies View Related







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