General :: How To Create Shared Directory
Jan 28, 2010iam new to linux. wanted to know-->how to create a shared directory in lunix which should be accessible from windows
View 4 Repliesiam new to linux. wanted to know-->how to create a shared directory in lunix which should be accessible from windows
View 4 RepliesI want to create a "Shared Memory" in linux, then create multiple "Shared Objects" that can access to a Table for example; And one of them can write something into the Table and the other can access and read it, so that these operations can be handled by programmer! I'm using Ubuntu 9.04 and I've set it's runlevel at 3 (I have commandline environment now!) I've searched the Internet so much, but couldn't find a good sample code for this! I have no experience about it and need your help to introduce me a sample code about it and advise me how to compile and use it with "GCC"?!
View 6 Replies View RelatedI am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
I need to create a directory named just like his parent.
Example:
I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.
In my samba configuration, I have a strange share.
Share name: MyPrinter
Shared folder: /var/spool/samba
comment = lp
read only = No
print ok = Yes
The spool directory /var/spool/samba has been shared as a printer. What will be the harm caused by it? (I don't know who shared such). And I also wanted to know the security issue due to it..
I am trying to setup 2 individual FTP users. They should both have access to the same directory. They both need to be able to read/write into the directory. But, I want them not to be able to write to each other's files (e.g. delete, remove, rename, etc.).
So let's say the shared directory is: /home/ftp/shared/
UserA needs read/write access to /home/ftp/shared/. UserA should only have write access to his own files. UserB also needs read/write access to /home/ftp/shared/. UserB should only have write access to his own files.
It would be a unix box of sorts, but that is the only restriction. I could use whatever software. I am currently thinking pure-ftpd or vsftp but I am open to all ideas.
I want to share my /home/myname/Public/ directory with other users on my system. The problem I am having is that it seems impossible to do so. I can't use a hard link because it's a directory and I can't use a soft link because the target directory can't be found by anyone unable to read my home directory.
So far, the only solutions I can see are:
1) To move everything from my Public directory to one lower on the directory tree (something like /home/Public) and then symlink to that as /home/myname/Public and allow everyone else to do the same.
2) To use something like samba to share the folder, even if only locally.
is doable because /home and /home/myname are on the same volume but there are times on my system when that is not true (I have users with their home directories on thumbdrives and external HDDs for instance and keeping their public files on a separate volume really isn't an option).
Somehow, I have flipped a bit somehwere, and some directories, particularly those shred through SAMBA, have flipped their sorting.
where those things are configured?
I also want to hide .dot files for some shared directory trees.
I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:
D_DRIVE /home/tony vboxsf rw,gid=1000,uid=1000,auto 0 0
I believe my user in the guest OS has the right uid and gid:
[tony@kiwi ~]$ id uid=1000(tony) gid=1000(tony) groups=1000(tony),1002,(vboxsf)
I can create files and remove them fine, but I can't seem to create directories.
[tony@kiwi ~]$ mkdir foo mkdir: cannot create directory `foo': Protocol error
Its weird because the directory looks like its there, sort of.
[Code]...
I upgrade the system from 11.1 to 11.2 seems everything work fine, no error no warning, after a reboot the consol show : mount error while loading shared libraries: libvolume_id.so.1: Cannot open shared object file: No such file or directory. when I try to repair the system the repair tool cannot find the root partion,
View 1 Replies View Relatedhow to install libxcb-xlib.so.0?When I start one software and it complains that
"error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory"
I have lastest libxcb1 installed and searched in my system but didnot find a relevant result.
I installed the latest Gimp beta and it worked fine but then I couldn't open it. I removed it and I reinstalled but it didn't work, so I installed the latest stable version (no beta) and it still does not work, when I open it form Terminal, this is the response:gimp: error while loading shared libraries: libbabl-0.0.so.0: cannot open shared object file: No such file or directory
View 3 Replies View RelatedI want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.
View 1 Replies View RelatedI am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:
"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"
If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?
Is possible to make a folder permission like below?
-User can create files/folders in the shared folder.
-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)
-Each new files/folders created will auto owner to root only.
I have shared few webpages in /home/vinay/public_html directory and I have made necessary changes in /etc/httpd/conf/httpd.conf file
Code:
But how to access these pages through Browser. When I open the browser with
Code:[url]
It shows contents of index.html in /var/www/html which is default DocumentRoot
How to provide the URL to access webpages in /home/vinay/public_html directory.
In Elastix, I get to amportal.conf via the /etc/ director. The file tells you:
[Code]...
It appears that AMPADMINLOGO=logo.png is calling out to something that is not there. I can't even find AMP directory. See below. Do I need to create a directory? This is the result of an ls -F at my /etc/ dir:
[Code]...
I build simple spec file and build rpmI transfer the new rpm to other Linux machine in order to install the new rpmaccording to the spec file the new rpm -> test.sh-6.2-2.i386.rpm should create the /tmp/MY_RPM_TESTS directory , but this rpm not create the MY_RPM_TESTS and sub directoriesplease advice why , what I need to fix in the spec file? RPM installation:
[root@linux1 rpm -Uvh /root/rpmbuild/RPMS/i386/test.sh-6.2-2.i386.rpm
Preparing... ########################################### [100%]
This is preinstall script
[code]....
I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously.
I would like to create another user account, which would be able to access this server using SSH too, but only to a certain directory, for example /var/www/example.com/
For example, imagine this user has a HUGE error.log file (500 MB) located in /var/www/example.com/logs/error.log
When accessing this file using FTP, this user needs to download 500 MB to view the last lines of the log, but I'd like him to be able to execute something like this:
Therefore I need him to be able to access the server using SSH, but I don't want to grant him access to all server areas.
There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?
View 2 Replies View RelatedI am trying to clean my computer. Basically I try to order some movies to put all of them in directories. I started by hand but I am loosing time I guess. I want to do something like:
mv *.avi /nonexisting_directory/
nonexisting_directory being the name of the file without .avi, changing for each file. How can I write in command lineor in script?
How to create /.bashrc in my home directory? do i make a folder naming it /.bashrc or i make its as a file?
View 7 Replies View Relatedi need to create script to make directory with the current date example : the directory name is " 060122010,1100" or near to that format
View 3 Replies View RelatedI'm trying to write a script which will take mysqldump from a server and put it in a directory with today's date. Here's the script i've written so far:
Code:
#!/bin/sh
BACKUP=/data/backup/sql2/new_backup/daily
cd $BACKUP
mkdir `date '+%m%d%y'`
[Code]....
I want to put the mysql dump in the today's directory. How can i declare this?
Can anyone give me a example to create a acl using username from my active directory.
i have around 3000 users.
i am a oracle DBAI want to crete a link for a directory in production serverto remote host.
View 6 Replies View RelatedThere are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?
View 8 Replies View RelatedI'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
I am running both Ubuntu and XP and have a local server for my computer on both systems. Both partitions have a www directory that is accessed when I type localhost into my browser.
I want to be able to work on the project in both systems and have the changes I make show in both. So my questions is how can I make "localhost" point to the windows www instead of the /var/www one when I start up the server?