SUSE :: Mount NFS Directory As Read-only Except For 1 Sub-directory?

Jul 14, 2009

We currently have a NFS shared Directory mounted as read-only on our server.This directory contains multiple sub-directories and files. It being read-only is a equirement. Now, we need a directory underneath to be read-write. Is there a graceful way to make that happen? Like a special mount option to use? Basically objective is: /u01 is mounted as read-only and has 3 directories: dir1, dir2, dir3 dir3 has 2 sub-directories- sub1,sub2/u01/dir3/sub2 needs to be read-write, while all other are read-only.

View 2 Replies


ADVERTISEMENT

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Ubuntu :: Access Files That Existed In Directory Before Mount Partition To Directory?

Feb 21, 2010

Recently I mounted a larger partition into my home directory since I was running out of space, Everything went smoothly, but it caused me to wonder about something I cant figure out. While playing with the mount unmount commands when I was copying everything over... before editing my fstab.

Is there a way to access the files that existed in a directory before you mount a partition to that directory? after mount the original files are gone.unmount and they are back, Where do they go?

View 3 Replies View Related

Ubuntu :: Cannot Mount Unencrypted Directory To Encrypted Home Directory With Fstab

Aug 26, 2010

I have Ubuntu Karmic. I chose to install with an encrypted home directory. Recently I got a warning that I only had 2GB of drive space left. This is mostly because of my videos. So I went and bought a new hard drive and partitioned it and made 1 ext4 partition and copied my videos all to the new hard drive. I added a line in my fstab to mount the new hard drive to ~/videos, but when I reboot the computer, there is a screen saying something like "error mounting /home/me/videos, press S to skip or something else to reboot". If I press S to skip, then when my system comes up there is a video directory but it's empty because my other hard drive didn't get mounted. I can run sudo mount /dev/sdb video/ and it will mount fine and I can see all my videos, so why can't fstab mount it? Does this have something to do with my encrypted home directory?

View 14 Replies View Related

General :: Mount One Directory To Another While Mapping The Original Directory's UID To Another

Aug 23, 2011

I'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?

View 2 Replies View Related

General :: Auto Mount More Than Directory In The Same Directory ?

Apr 7, 2010

How can i auto mount more than directory in the same directory ? i want to automount 2 home directories in the /home and still be able to enter the other home directories !

The problem that i've another account on the system with home directory joe when the user1 home directory auto mounted i become unable to enter joe home directory !

View 1 Replies View Related

SUSE / Novell :: Unable To Create Home Directory In Open Suse 11.3

Sep 8, 2010

When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.

View 1 Replies View Related

SUSE :: Can't Create Home Directory In Suse 11.3 / What Is Missing?

Sep 8, 2010

When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory. Don't know what is missing.

View 2 Replies View Related

SUSE :: Mounting Remote Directory On Startup On Suse

Oct 7, 2010

So ive got a Suse server up and running. It is connecting to a clearcase server, so i want to mount the remote filesystem as part of startup, as this is generally rebooted when im not around.I would normally add something to /etc/init.d and put the shortcut to it in the appropriate runlevel (in this case 3). Tried that. Didnt work.

Realised the init script needed to have the LBS stuff at the start, so put that in, and used insserv to add the script. I used required-start set to $ALl.This successfully created the init script with S20, and i eneabled it with chkconfig.

View 4 Replies View Related

Ubuntu :: Mount Single Directory To Multiple Mount Points

Jan 27, 2011

I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?

View 9 Replies View Related

Red Hat / Fedora :: Sed: Can't Read *.php: No Such File Or Directory

May 9, 2010

I am using this command: Code: sed -i 's?,$HTTP_USER_AGENT,?,$HTTP_USER_AGENT."\nFile: ".__FILE__."\nLine: ".__LINE__,?g' *.php to modify a line in my php files. I want to do this recursively from the directory I am in. but I get this message in response: sed: can't read *.php: No such file or directory sed version is 4.1.2. It's important that I only change *.php files, and do so recursively.

View 1 Replies View Related

General :: Mount NTFS In Read/write Mode In SuSE Enterprise 11

Dec 17, 2009

I can mount the NTFS in read only mode, but i need write access too. how can i mount NTFS partition in read/write mode..?

View 12 Replies View Related

General :: Error - Read Only Directory Structure

May 20, 2010

I am using RHEL 4.4. Last time when I reboot my server it generate an error, and mention to run fsck command in repair mode. When I ran, this fix some problems, but after that it generate an error of gdm and X11 services after showing login sceen and getting user name and passwod. But I login via putty from a remote system. So, when I tried to make changes like create directory or file or even tried to make any change in any file it generate an error that " you can not make changes in read only file system".

View 10 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

Server :: Openldap 2.3.43 Directory Read Only User?

Mar 8, 2011

I have no ACLs in place yet but want to use a user called ldap-auth-user to bind to the ldap servers directory from the client servers. However I keep on getting ldap_bind: Invalid credentials (49). Error. I know the UserPassword is correct because I can log into a server using that id and password through the LDAP directory. I am guessing it has something to do with the way I created the account.

This Works:

ldapsearch -D 'cn=Manager,dc=test,dc=com' -x 'uid=testuser' -W

This Doesn't:

ldapsearch -D 'cn=ldap-auth-user,dc=test,dc=com' -x 'uid=testuser' -W

Here is the ldap-auth-users entry in the directory

[root@ldap-build-01 ~]# ldapsearch -D 'cn=Manager,dc=test,dc=com' -x 'uid=ldap-auth-user' -W
Enter LDAP Password:
# extended LDIF

[code]....

View 6 Replies View Related

SUSE :: Oracle Installation - No Such File Or Directory

Jun 17, 2010

Trying to install Oracle 11g on SLES 10 Xen virtual server. Get error /proc/sys/vm/hugetlb_shm_group: No such file or directory. I agree, it's know there...but how do I create it?

View 2 Replies View Related

General :: Permissions So Directory Can Only Be Read By Script Not Browser?

Jan 20, 2009

I have a CMS that has a brilliant backup option with one flaw, it can only create a full backup in a directory inside the web root. In this case /var/www/site/backups. This is not practical for security as the resulting tar.gz file contains a full mysql backup as well as other items that the general public shouldn't be downloading.What permissions do I need to set so that the directory /var/www/site/backups cannot be browsed to in a browser but can be read / written by the CMS when a PHP script calls it?

View 4 Replies View Related

Fedora :: Cannot Read Hidden Files In Home Directory

Jul 24, 2009

Not sure what the problem is, but my home directory or /home partition is acting up so that I cannot see the hidden directories in my home directory.

If I type "ls" I get the display of all my files and directories.

If I type "ls -l" I get the display of files and directories.

If I type "ls -a" or "ls -la", the terminal hangs.

Any thoughts? I have tried creating myself a new account and moved all my files over, then changed the ownerships to the new account. However, now the new account is acting the same way.

View 14 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Recursively Add Read Privilege To All The Files Under A Certain Directory?

Jan 18, 2010

I'm under linux . by default, other user can't read anything under my home directory. let's see my home directory is /home/superman , and I tried to use

chmod +r /home/superman

to let others can acess files under my home directory , but it does not work .

View 1 Replies View Related

Fedora :: Grant Certain Group Read-only Access To / Var Directory

May 30, 2010

On RedHat 5 64-bit.I have a group that requires read-only access to the /var directory.I believe someone mentioned SGID and ACL stuff, and I've been researching this solution, but I wanted to check with you all first to ensure there wasn't an easier way to do this. Basically, I just need folks that belong in this certain group to read the contains of any file/directory contained within /var.

View 5 Replies View Related

General :: Difference Between Directory Execute And Read Permission?

Mar 3, 2010

I was wondering what is the difference between directory execute and read permission?Also, how do I recursively remove executable permission from a dir, but just apply it to normal files?

View 6 Replies View Related

CentOS 5 :: Nautilus Cannot Enter/read Home Directory?

Dec 1, 2009

I have a problem from time to time. Now is such a time. Nautilus is not able to read/enter my own home directory. It can enter/read ANY other directory, but my own home directory. Killing the Nautilus process, doesn't help. Logging out doesn't help. I need to reboot to get nautilus to read my home directory. Sometimes, it suddenly appears after a couple of minutes, but not always. What is taking so long time or causing the hanging? What should I do?

View 4 Replies View Related

OpenSUSE Install :: Guest User Able To Read Home Directory

Sep 17, 2010

I've created a guest user in the group "user." I'd like to limit its read access to its own home directory. However, by navigating through File system>home it's able to read my home directory. I was under the impression that users were limited to their own home directories. Am I missing something, or is there a group I can assign this guest to, to limit its read access to its own home directory? I've read about Pessulus (I use Gnome), but that seems to be geared toward limiting access to applications, not directories.

Ideally, I'd like to create a group that cannot navigate through any files except its own home directory. But it seems that if I try to do that, the guest user will not be able to execute any applications. I've read all the posts (and other forums) I could find about creating such a limited account, but the chroot jail is beyond my understanding. I get the feeling that it's geared toward networks.

View 9 Replies View Related

General :: Can't Empty The /tmp Directory Read-only File System Warning

Mar 2, 2010

Does anyone know why files in my /tmp directory are not able to rm even using root login? not only that, I can't even chmod or do anything to files in /tmp directory... it always saying "read only file system" warning

View 8 Replies View Related

General :: How To Call Read Directory From Fill SuperBlock Function

Oct 12, 2010

I want to populate an array of string by files exists in directory on mounting of file system. I got an entry point for file system mount. I can use either do_mount function or fill_superblock function. But I am not clear about how to call readdir from there itself. I need inputs for calling readdir from fill_superblock function.

View 2 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

Security :: Using Sudo To Give Read Access To Specific Directory?

Apr 29, 2011

I have a log server that collects logs from all the cisco devices on our network.he company policy states that any logs should only be accessible by root. So I have the following permissions set on the directory, as well as everything inside the directory where the cisco logs are kept.

Code:
drwx------ 65 root root 4096 Apr 29 7:38 rsyslog
The cisco folks are requesting access to these logs, which is allowed by company policy.

[code]...

View 12 Replies View Related

SUSE :: Mkdir: Cannot Create Directory `transferdata': Permission Denied

Oct 25, 2010

I am working on SUSE 9 Server in which I am trying to make folder transferdata under /opt folder but it is throwing an error mkdir: cannot create directory `transferdata': Permission denied

View 2 Replies View Related

SUSE / Novell :: Sort And Delete Directory Going Back For Years?

Nov 15, 2010

Got directories dated of 2009 2008, What is the best way to ls the directories, sort them by date, redirect the output to a file and then delete them?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved