Solved

Linux - how to grant read write permissions

Posted on 2013-11-20
2
823 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
ID: 39663684
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
ID: 39663715
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

756 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