This is in a continuation of question here
I run this command as root user
chown someuser:someuser /mnt/my-address
and then
# ls -l /mnt/my-address
response is
total 16
drwx------ 2 root root 16384 Aug 16 11:04 lost+found
but when i do
stat /mnt/my-address
and response is
File: `/mnt/my-address'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: ca51h/51793
I have a CentOS-6 machine that I'm working on that is running a live database. It's having a problem with the /mnt directory. I cannot ls the directory for some reason.
I am facing an unusual problem.
The stat command is really useful to gather information from file, directory and file system.
The basic usage of stat is:
~#stat /etc/passwd
File: `/etc/passwd'
Size: 999 Blocks: 8 IO Block: 4096 regular file
Device: ca00h/51712d Inode: 845 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
The stat command is useful for efficiently seeing lots of file metadata in one shot
Example:
Quote:
stat /etc/fstab
File: `/etc/fstab'
Size: 469 Blocks: 8 IO Block: 4096 regular file
Device: 803h/2051d Inode: 18087968 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:object_r:etc_t:s0
I'm trying to change my login manager to SLiM and the theme I want for my login screen is archlinux-simplyblack:
[cesar@arch ~]$ ls -la /usr/share/slim/themes/
total 108
drwxr-xr-x 27 root root 4096 May 9 19:43 .
drwxr-xr-x 3 root root 4096 May 8 11:11 ..
drwxr-xr-x 2 root root 4096 Nov 23 2008 archlinux-darch-grey
drwxr-xr-x 2 root root 4096 Nov 23 2008 archlinux-darch-white
drwxr-xr-x 2
vsftpd on ubuntu after sudo apt-get install vsftpd
Then did configuration as in the attached /etc/vsftpd.conf file.
Anonymous ftp allows cd to the upload directly and allows
put myfile.txt which gets created on the server but then
the client hangs and never proceeds.
Hi!Just revisited a machine running arch I haven't seen for a while...syslog-ng says::: Starting Syslog-NG [BUSY] Error opening configuration file; filename='/etc/syslog-ng/syslog-ng.conf', error='Permission denied (13)'$ ls syslog-ng/ -al
total 32
drwxr-xr-x 3 root r
Is possible to have a ~/.juju/environments.yaml file like this?:
environments:
sample:
type: ec2
access-key: $(cat access-key)
secret-key: $(cat secret-key)
control-bucket: juju-8b53699f85c0438c96897ce75f633aa1
admin-secret: 9a7c512f938f4bafb96365d7ceaf569b
default-series: precise
ssl-hostname-verification: true
I'd like to get those keys from gpg output or somethi