Ln -s Makes Permissions Of 755


Recommended Posts

When I use the command ls -s with all of my linux systems I get permissions of 777 for the link. In my bsd system(using bash) when I make a sybolic link I get permissions of 755, is this normal? I have installed bash, but do not have a .bashrc, .bash_profile, or /etc/profile file to set parameters. Does that seem like the problem?

Link to post
Share on other sites
When I use the command ls -s with all of my linux systems I get permissions of 777 for the link.

That's normal.

In my bsd system(using bash) when I make a sybolic link I get permissions of 755, is this normal?

That may be normal but I don't know. It doesn't really matter either way; the permissions of the target file are checked as well.

I have installed bash, but do not have a .bashrc, .bash_profile, or /etc/profile file to set parameters. Does that seem like the problem?

Nope. If you want them, create them.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...