Fedora :: Link To Another User Folder?

Aug 17, 2010

I'm sorry if this question has already been answered, here or in Google, but 5' of search didn't give me any satisfactory answer. I haver 2 users, usr1 and usr2. I have access for both users. I want to link a folder from usr1 into the home directory of usr2. That is, if usr1 has the following folder

/home/usr1/Music
I want usr2 to link to this folder in this manner
/home/usr2/Music/usr1

I want usr2 to have read and execute permissions over all files and folders under that link, but probably I don't want him to have write permissions.

View 6 Replies


ADVERTISEMENT

Fedora :: Ln Command For Link Creation To Folder On Windows Partition

Jan 16, 2010

I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.

Code:
$ mkdir /home/dariyoosh/MyDocuments
$ ln -fs /media/disk/Users/dariyoosh/Documents/MyDocuments/* ./MyDocuments

The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?

View 3 Replies View Related

Fedora :: Allow User To Save/edit/delete Documents In A Folder But Not Delete That Folder?

Sep 6, 2011

Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?

View 14 Replies View Related

Programming :: Tell If A Folder Is A Link To Another Folder?

Jan 13, 2011

i tried stat and S_ISLNK(st.st_mode) but it always evaluates to false :/ is there anyway i can tell if a folder is a link to another folder?

View 6 Replies View Related

Red Hat / Fedora :: Give All Set Of Permissions To An User For Accessing A Folder?

Nov 27, 2010

I am new user for redhat linux.I tried to install oracle 10g on rhel 5 using vmware.every time i am getting an error message permission denied

[oracle2 localhost tmp]$ cd database_10201/
[oracle2 localhost database_10201]$ ls
doc install response runInstaller stage welcome.html
[oracle2 localhost database_10201]$ sh r
response/ runInstaller
[oracle2 localhost database_10201]$ sh runInstaller
runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied

how to give all set of permissions to an user for accessing a folder..

View 1 Replies View Related

Red Hat / Fedora :: Defining Quota For A User At Folder Level?

Jan 7, 2011

We are using Red Hat Enterprise AS 3.0. There are 100+ users connected to a single server. As the Inbox size of Mail Client (Thunderbird) for each user grows there are space constraint on the server. So I want to define a quota on mail folder for each user (say around 500 MB to 1 GB). How can I do this.

View 3 Replies View Related

General :: Lock A User Into Websites Folder Not Home Folder?

Jan 9, 2009

id like to lock a user into his websites folder not his home folder. and i dont want him to be able to veiw anything outside that folder, only be able to play with whats inside that folder. is this possible?

View 4 Replies View Related

Ubuntu :: Copy Files From Original Folder To $user Folder?

Oct 22, 2010

i want make a bash panel and i want he will copy files from orginal folder to $user folder i mean when for explame i type i want install some server he say cp: cannot stat 'root/Desktop/2/files/beckup/sa-mp-steam': No such file or directory.

View 6 Replies View Related

Ubuntu :: How To Link A Folder In The Media

May 11, 2010

I use ln -s to create a symbolic folder in /home/ to direct a folder in the media.

But it appeared the link is broken. It also said "This link cannot be used, because its target "./media/StudyResearch/" doesn't exist."

View 4 Replies View Related

Fedora Hardware :: Linking User Folders To Ntfs Folder

Mar 28, 2010

Not sure if this i the right forum, please let me know if I need to post elsewhere. First, here are my system specs:

HP DV 2808
250 gig SATA drive
4 gig DDR
Nvidia 7150 mobile
Windows 7
Fedora 12

I have my HP DV2000 laptop configured to dual boot Win 7 and Fedora. What I would like to do is mount the Windows folders, (Documents, Music, etc.) automatically in my Fedora home folders. I have done/tried the following:

1: identified my partitions:

[Code]...

View 1 Replies View Related

Fedora :: Nfs4 : User Can't Access Remote Folder / Resolve This?

Apr 18, 2010

Code...

The server is running under debian sid and the client under fedora 13 beta. I don't have any idea what may be wrong.. selinux perhaps?

View 6 Replies View Related

Fedora Servers :: User Setting - FTP - View / Edit Files In One Certain Folder

Apr 17, 2010

I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?

View 2 Replies View Related

Ubuntu :: Symbolic Link Merged With Folder?

Mar 22, 2011

I have done something very studpid I think and was wondering if there's any chance to recovery a folder. I, for some stupid reason, merged a symbolic link with the actual folder, Thought I was doing something else.Now the directory does not seem to exist and when I click on it there is an error saying 'The link '/directory/' is broken'

View 9 Replies View Related

Ubuntu :: Add To Panel A Link To A Remote Folder?

Mar 23, 2011

I have to access to a remote hard drive on a windows machine with admin privileges (something like \ipaddressc$). I was able to bookmark that and put the link on "Places" using "Connect to Server..." using the following parameters: windows share, ip address, d$, username & pass. Now to make it easier to access, i want to put the same thing on the panel, and there comes the problem. I think that i can make a link that executes by command line the previous settings and opens-mount all the times my remote path.

View 1 Replies View Related

General :: Link Files In Different Folder In Html?

Jun 3, 2010

I try to link two page from different folder and directory1. I want to link [URL]

View 9 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

Ubuntu :: Copy User Settings / Folders From One User Home Folder To Another?

Jan 10, 2010

I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried

Code:

sudo cp -nRv /home/user1/* /home/user2
but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.

im talking about the .adobe, .amsn ..........

How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.

View 4 Replies View Related

Fedora Networking :: Getting Vsftpd Running With Both Anonymous And Local User Access To The Same Folder

Aug 14, 2009

I'm trying to get vsftpd running with both anonymous and local user access to the same folder. The directory I'm using is /tftp with the following permissions:

dr-srwxrwx 7 root root 12288 2009-08-14 15:54 tftp

My vsftpd.conf is this:

anonymous_enable=YES
local_enable=YES
write_enable=YES

[code]....

I set the default "ftp" user's home directory to /tftp (was /var/ftp).

View 4 Replies View Related

General :: Ubuntu Symbolic Link Content Of Folder

Jun 24, 2010

I have two folders such as
nonserved/
folder1/
folder2/

And a served folder via Apache
media/
js/
css/
img/

In the end, I want to include/append contents of /nonserved to /media so that [URL] will be as such:
/media
/js
/css
/img
/folder1
/folder2

I am running Ubuntu Server, I am up for either apache config or symbolic link based answer :) Plus nonserved folder is rather dynamic thus manual symbolic linking to each folder is impossible.

View 1 Replies View Related

Ubuntu :: Can't Seem To Access MROOT Folder When Link To File

Nov 7, 2010

I can't seem to access my ROOT folder when I link to a file in it from one in var/ w ww.if (my ip):80 links to va r / w ww, and jsp only works in tomcat / webapps /ROOT, and I have tomcat / webapps / ROOT installed in var / w ww, then I thought I would try to do something like this, to make jsp work.Is there a way to simply redirect webapps / ROOT to var / www and put all of the files there?

View 9 Replies View Related

Ubuntu :: Link To Application Cannot Find Applications In Home Folder

Jan 27, 2010

I seem to be seeing some weird behavior in kubuntu with KDE 4.3.2 and KDE 4.3.5 for Kubuntu 9.10 32-bit.I have a few programs in my home folder. For instance Eclipse and Mendeley. it seems that when i create a Link to Application does not launch them. Here is how I create the links.

-> I right click and create a new "Link to Application"
-> I click on the Application tab and browse to where the shell script, or executable is.

and when I try to launch them it does not work. The link is using the absolute path. I tried setting the working directory and using a relative path but nothing. If I run the link in a terminal it says "Warning: Could not find" and the application I set. Now this seems to not be a problem for system applications like Kate. If i change the link to launch Kate it works perfectly.

View 1 Replies View Related

Red Hat / Fedora :: Fedora Shell Scripting \ "Find In Curent Folder For Files, And It Copy First File He Find With Name Gived By User?

May 18, 2011

shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"

smthing like Code: #!/bin/bash
for files in /home/user/*
do

[code]....

View 1 Replies View Related

General :: Creating A Link To A Deeply Nested Folder Like = /home/username/?

Sep 17, 2009

I have an external hard drive mounted at /media/exthdd/ On that hard drive I have folders: Music, Pictures, Videos, etc. Can I make symbolic links to /media/exthdd/Music/ to say the root directory /_ ? the directory /_ is empty I just want a quick method of typing to get me there much like [cd ~] gets me to my home/username folder. I have my music organized by Artist/Year-Album/Track.Title.mp3 I want to be able to "cd /_" then "ls" and see all Artist folders.

View 9 Replies View Related

Ubuntu Networking :: Put A Link On The Desktop That Points Directly To The Shared Folder On The Server?

Mar 25, 2011

I created a lab of 15 PCs connected to a server using samba. Everything works fine, but it's possible put a link on the desktop that points directly to the shared folder on the server?

View 2 Replies View Related

General :: Link Terminal Sessions - Show Logged In As The Same User?

Jun 7, 2011

I was doing some rather lengthy procedures using a terminal. Then I wrote script using Kate, and input it into that terminal, and then realized that I was logged in as a normal user in that terminal as opposed to a superuser, which is how I was logged in at the other terminal. I've never noticed this before because I've never done anything that takes this long.

Is there any way to link all terminal sessions in such a way that they all show me logged in as the same user? I don't even know if this is even important, but I don't want to risk losing any things that I had done.

View 2 Replies View Related

OpenSUSE :: Configure Apache To Redirect To The Home Page If A User Is Directed To A Broken Link?

Aug 29, 2011

Is there a way to configure Apache so that if a user tries to access a webpage that doesn't exist under mydomain.com, that it redirects that user to the index.php?

View 1 Replies View Related

Ubuntu :: Documents Directory Now Link File Linking To /home/user/Document And Inaccessible

Nov 11, 2010

I just realized that the "Documents" folder in my home directory has changed to a file which is a link to the /home/user/Documents and it is unaccessible. It does not (no longer) show in the "file browser" when I try to click it from "places" it says:

Error: Could not open location 'file:///home/user/Documents' No application is registered as handling this file When I list from the terminal (i.e. %ls -ltr ) it list the file (which was suppose to be the directory) as

lrwxrwxrwx 1 user user 24 2010-11-01 18:20 Documents -> /home/user/Documents

NB. user in this case is my user name on the system, I am just using user for this forum. how to retrieve the information from the folder and remove the linked file to remain with the original folder

View 5 Replies View Related

Ubuntu :: Create A Link To "My Documents" Folder On XP Partition?

Apr 14, 2010

I've recently installed Ubuntu 9.10 Karmic as a dual boot with WinXP and love it. I've been able to mount my WinXP partition and can access files read/write successfully.

I'd like my WinXP "My Documents" folder to appear as a linked folder in my Linux Home directory.

I think I should be able to use the ln command, but I can't figure it out.

I've tried to create a link that will appear like a "folder" called WinDocs in my Home directory with this command, run from my Home folder:

ln -t /dev/sda1/Documents and Settings/richard/My Documents/ /WinDocs/

but it reports

ln: accessing `/dev/sda1/Documents and Settings/richard/My Documents/': Not a directory

I get the same results if I try /dev/hda1 etc.

I can see the contents of the folder currently in my Places listing. Its shortcut is active on my desktop.

View 4 Replies View Related

Fedora :: Set Up User's Home Folder Away From Home?

Mar 10, 2010

Wondering if its possible to have a User's home folder that resides in a different partition (could be ntfs or ext). I don't mean mounting /home on a different partition. The home directory will still be available for adding more users but I'd like to have a specific User's folder away from /home

How can one achieve this?

View 6 Replies View Related

Fedora Networking :: Sharing And Networking - "public" Folder Did Not Become Open Until I Entered The User Password

Jul 28, 2009

I am an old Ubuntu user and have just strted running F11 on my iBook. I always run system-config-samba on all my machines including my server and even on my work server which shares with windows, Linux and OSX and have found it to be perfect. I installed it straight away on the new Fedora system but It doesn't seem to be functioning the way i expected it to.

I installed system-config-samba and then set up one share folder "Public" with open read write privileges and then turned off the Fedora Firewall all together. But "public" did not become open until I entered the user password for the fedora machine. But, then I could see all folders on the Fedora machine. Even root on the fedora machine became write-able on the network. This was not the desired effect at all. I am assuming fedora is using a non system-config-samba file share system that I am unfamiliar with. what is it? and how does it work?

View 1 Replies View Related







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