Solved

Linux - how to grant read write permissions

Posted on 2013-11-20
2
797 Views
Last Modified: 2013-11-20
Hi , i need to assign read / write permissions to the locations

\\1.1.1.1\folder1
\\2.2.2.2\folder2

how do i do this ? Can i log in to any server and from there grant the permissions ? Any help would be appreciated.
0
Comment
Question by:c_hockland
2 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
Comment Utility
I presume that these folder are on Linux.

You need to log on to the Linux machine where these folders exist.  It would be easier to log on as root because you can modify permissions irrespective of the ownership of the folder.

Go to the directory where folder1 is located.
Then issue command

chmod 777 folder1

Same for the folder2.
0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
By the backslash syntax you're using, I assume those are Windows shares mounted from a Linux box?  Or are they NFS?

If they are Windows (or Linux Samba Windows) shares, you have to grant the read-write access on those machines by giving guest access with write permissions.

If they are NFS shares, you can just use "chmod 777 folder1" (or folder2) from any Linux server that has them mounted, however they must be mounted read-write to begin with.  If they are not, you will need to be re-exported with read-rewrite permissions, and probably remounted from your Linux box.

If you could be more specific about which OS is on each IP, and how these shares are made accessible, I can probably give you a more targeted answer.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now