Search found 128 matches

by Chris
Fri Sep 27, 2013 4:52 pm
Forum: Windows
Topic: Windows 7 asks to confirm the open program actions
Replies: 1
Views: 20749

Re: Windows 7 asks to confirm the open program actions

This is a feature of Windows User Account Control (UAC). As you understand, it's a security feature to prevent unwanted software from installing itself in the background without your permission. It should show for normal programs, only for programs that request administrator access. The first questi...
by Chris
Tue Aug 27, 2013 7:26 pm
Forum: Linux
Topic: ls: reading directory /var/share/movies/: Input/output error
Replies: 4
Views: 11997

Re: ls: reading directory /var/share/movies/: Input/output e

In the latest version of linux (at least from kernel 3.2) you can get a list of hard disk id's in /dev/disk/by-id/ ls -l /dev/disk/by-id/ lrwxrwxrwx 1 root root 9 Aug 27 20:47 scsi-SATA_SAMSUNG_HD103SJS246J9GB303707 -> ../../sdb lrwxrwxrwx 1 root root 10 Aug 27 20:47 scsi-SATA_SAMSUNG_HD103SJS246J9G...
by Chris
Thu Jul 25, 2013 9:02 am
Forum: Linux
Topic: ls: reading directory /var/share/movies/: Input/output error
Replies: 4
Views: 11997

Re: ls: reading directory /var/share/movies/: Input/output e

Sounds like you have a read problem (hardware problem).

Try unmounting and remounting your drive.

You can also check dmesg for more info.
by Chris
Fri Jul 19, 2013 6:30 pm
Forum: Linux
Topic: Log files permissions always changed to root
Replies: 2
Views: 8267

Re: Log files permissions always changed to root

It is probably logrotate that is not correctly configured.

In the config file /etc/logrotate.conf
You should have section like this:

Code: Select all

/var/log/clamav {
    monthly
    rotate 5
    compress
    create 0600 clamav clamav
}
You can run logrotate with:

Code: Select all

logrotate -v /etc/logrotate.conf
by Chris
Wed Jun 05, 2013 7:12 pm
Forum: Linux
Topic: Solved: How to remove a symbolic link to a directory
Replies: 2
Views: 8722

Re: How to remove a symbolic link to a directory

You need to handle it like a file.
Without the slash '/'

Code: Select all

rm DIR
This should work.

When you use tab to complete the directory-name,
it automatically adds the slash (/).
But it is not needed in this case.
by Chris
Wed Apr 17, 2013 5:31 am
Forum: Windows
Topic: Solved: windows turn screen hotkey
Replies: 1
Views: 21726

Re: windows turn screen hotkey

Always a funny office prank :-)

Press Ctrl+Alt+Arrow Keys.

To turn it the way you want.
by Chris
Sat Nov 24, 2012 10:12 pm
Forum: Linux
Topic: Solved: Recover deleted files from encrypted home
Replies: 2
Views: 8492

Re: Recover deleted files from encrypted home

If your files have been encrypted, they are now encrypted stored in /home/.ecryptfs/$USER/.Private/ So make sure you are looking in the correct dir. Shut down your computer; you can pull the plug, because shutting down will write files to your hard drive, and might overwrite your deleted files. Use ...
by Chris
Tue May 22, 2012 3:48 pm
Forum: Linux
Topic: Power save for SATA drives
Replies: 1
Views: 7204

Re: Power save for SATA drives

You can do this with: hdparm -S 240 /dev/sdc This will tell you hard drive to power down after 20min of inactivity. I have read in many forums that it only works for IDE drives, and doesn't work for SATA drives. Anyway on my machines it works, And I have drives from Samsung, Western digital and Hita...
by Chris
Thu Apr 26, 2012 7:28 pm
Forum: Windows
Topic: How do I change ntp-server in windows 7
Replies: 2
Views: 24549

How do I change ntp-server in windows 7

Hi,

does any know how I can synchronise windows 7 to my own ntp-server?

So not the default "time.windows.com"
or any of the nist.gov.

Thanks,
by Chris
Tue Apr 17, 2012 6:34 am
Forum: Linux
Topic: Solved: Can I use dd to copy a drive to a bigger drive?
Replies: 2
Views: 8417

Re: Can I use dd to copy a drive to a bigger drive?

The short answer is: Yes. But, the size of you partitions won't change. You copy a everything from a 40GB drive to a 60GB drive. There will be a partition of 40GB and 20GB of free unused space. sudo dd if=/dev/sdb of=/dev/sdc You'll probably want to change the partition size with Parted Magic, or so...