Linux correct permissions for .bash_aliases


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Linux correct permissions for .bash_aliases
# 1  
Old 06-16-2017
Question Linux correct permissions for .bash_aliases

Above is a search string I tried on Google that produced lots of hits but not much in the way of clues. And I wasn't looking for clues.

So I decided, for the first time, to ask the question here. What are the correct permissions for the .bash_aliases file?

iwrong
# 2  
Old 06-16-2017
Quote:
Originally Posted by iamwrong
Above is a search string I tried on Google that produced lots of hits but not much in the way of clues. And I wasn't looking for clues.

So I decided, for the first time, to ask the question here. What are the correct permissions for the .bash_aliases file?

iwrong
644 or 640
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Problem exporting NFS filesysytem with root permissions to Linux

Hi, I have a Solaris 10 server and I want to export a filesystem to a linux client and give the client's root user root priviliges on the filesystem. The client is an ubuntu 14.04 LTS server. the dfstab on the server looks lik this: /usr/sbin/share -F nfs -o ... (1 Reply)
Discussion started by: nvanvliet
1 Replies

2. Shell Programming and Scripting

How to get the correct IP on a Linux server?

Hi I need to get IP address from linux server. There are many script to do this, but no one is perfect. They just grab eth0 or eth1 from ifconfig, and this may, may not be correct. You may have several IF configured, but only one is default GW Here is how I would like the process to be.... (8 Replies)
Discussion started by: Jotne
8 Replies

3. Red Hat

Control M user permissions on Red Hat Linux

All, Requirement: Permissions Required for Control M on Linux I am using the Linux as the operating system. I am told to get an user configured for Control M on Linux. The user would be an authenticated user created by the client. The user created requires permissions to be made available so... (2 Replies)
Discussion started by: Roadies99
2 Replies

4. Shell Programming and Scripting

Check the permissions linux user

i have some question for example: suppose we have the Public folder as follows: https://www.unix.com/attachment.php?attachmentid=2759&stc=1&d=1334070669 If the user enter: -Kenshin or /home/kenshin/Public output: abc: kenshin: rw my shell: echo "Enter User:" read user ... (3 Replies)
Discussion started by: kingkner
3 Replies

5. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

6. UNIX for Advanced & Expert Users

Keeping your Home file permissions correct

I have been a UNIX user for a long time, and in that time I have been looking for a program to set/reset all the file permissions of a complex directory hierarchy (my home) according to a configuration file of rules. That is not the simple find-xargs-chmod rule but a program (shell/perl/c)... (4 Replies)
Discussion started by: antofthy
4 Replies

7. Solaris

in correct drive name

I am new to solaris and I replaced a faulty tape drive sun DLT7000 But, I am getting the follwoing error when system reboots ltid deamon error drive index 1 is not correct, drive name /dev/rmt/2cbn is incorrect no such file or directory. I have two drives the other one is /dev/rmt/0cbn,... (8 Replies)
Discussion started by: latif1958
8 Replies

8. Shell Programming and Scripting

Please correct this

I have input file like this Input file: ABC|abc_etc_passwd XYZ|XYZ_etc_passwd zXY|XYZ_etc_passwd IJK|test_etc_passwd KLM|test_etc_passwd i want to do following in a loop. grep 'ABC' *abc_etc_passwd* grep 'XYZ' *XYZ_etc_passwd* grep 'ZXY' *ZXY_etc_passwd* i have tried this for i... (2 Replies)
Discussion started by: pinnacle
2 Replies

9. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
Login or Register to Ask a Question