SFTP – Connections and File Permissions – Part 4

Continuing the SFTP series of blog pages - lets take a look at some random snippets which are really helpful. Specifying the private key while dong SFTP sftp -o "IdentityFile=/path/to/private_key" jay@server.name.com We can also place the options in "config" file. Sample contents of ~/.ssh/config Host the_hostname User user_name IdentityFile /path/to/private_key 2. Prepare a batch file with … Continue reading SFTP – Connections and File Permissions – Part 4

Advertisements

RedHat – Not reading root volume based on LVM

Environment Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 EXT and XFS file system Rescue Mode Issue How to repair filesystem in rescue mode for Red Hat Enterprise Linux System won't load after boot, requests fsck of root file system / (root) filesystem … Continue reading RedHat – Not reading root volume based on LVM

NFS “nobody” file permission issue

Files in mounted folder owned by nobody:nobody – I’ve tried to change using chown with the existing username and group which also present on the NFS server but still nobody:nobody. A: NFSv4 handles user identities differently than NFSv3. In v3, an nfs client would simply pass a UID number in chown (and other requests) and the … Continue reading NFS “nobody” file permission issue