General :: No Symlinks Allowed In Smb Share?

Feb 8, 2010

I have the following share setup on my Ubuntu machine

# From /etc/fstab
//192.168.1.13/media /home/USER/SHARE/media cifs username=USERNAME,password=PASSWORD,_netdev,uid=USER,gid=users 0 0

[code]....

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Share Codebase Via Symlinks?

Mar 23, 2010

I'm hosting some sites on a dedicated server. All these sites make use of the same codebase (couple of directories with php and javascript files). Because I want to manage this codebase on only one location, I was trying to share it via symlinks. When looking at commandline, everything seemed to work fine. However, when browsing to the sites that use the codebase, problems occur. It seems as if php cannot find the files.

View 3 Replies View Related

Ubuntu :: CIFS Share No Longer Following Symlinks

Jun 6, 2010

I just made the upgrade to 10.04 over the weekend, and everything seems to be working fine, minus one nagging detail.I have a Mythbuntu setup - a frontend and a backend. In addition to recording television, I have a folder setup on my backend where I can dump movie files to watch on the frontend. The folder is shared in the /etc/fstab via a CIFS share. Within that folder is a symlink to where my torrent folder is located. The issues seems to be how my frontend handles symlinks within the shared folders. If I run "ls -la" in my base CIFS share folder, it lists the symlink folder and says it's owned by root, but if I try and change to that directory - either using "ls" or "cd" - it says Permission Denied. On the backend, I changed ownership of the symlink to the username the CIFS is using to login, but that had no effect. I'm not familiar with how to do any sort of configuration on CIFS, if that's where I'd even need to start.

View 2 Replies View Related

Fedora Security :: Why Is Httpd Allowed To Start Binded To Port That's Not Explicitly Allowed?

May 28, 2010

While reading some papers on securing apache with selinux, I have tried to bind httpd to port 3000 expecting to be blocked by the selinux, since port tcp 3000 isn't on the http_port_t list. However I was able to start the service...

I'm preety sure selinux is enforcing. Also, if I bind httpd to tcp 81 selinux denies the start of the service, as expected!Did I miss something? Why is httpd allowed to start binded to a port that's not explicitly allowed?

View 12 Replies View Related

General :: Can Grep Exclude Symlinks?

Oct 15, 2010

I tried to run one grep that excludes symlinks and pipe it into a second that searches for my pattern but I continue to get the recursive directory loop error. As a result (I think) my grep is incomplete as the search just loops between directories symlinked together.

View 7 Replies View Related

General :: File Permissions Apply To Symlinks?

Jun 27, 2011

Let's say you have this structure:

+ directory
-- file1
-- file2
-- file3 -> /tmp/file3

file3 is a link to another file3 somewhere else on the system.

Now let's say I chmod 777 the directory and all contents inside it. Does my file3 in /tmp receive those permissions? Also, let's say we have the same situation but reversed.

/tmp/file3 -> /directory/file3

If I apply the permissions on the file being linked to, how does that effect the link?

View 2 Replies View Related

General :: Linux And Windows Symlinks Interchangeability

Apr 10, 2010

This question is about windows 7. I want the "C:program Files" folder to be a symlink to a directory on another partition. I can't do this from within windows because it locked the Program Files Folder. Will a linux live CD do the trick?

View 1 Replies View Related

General :: Resolving Symlinks Mounted Via Samba On Windows?

Feb 11, 2010

I have a samba mount in Windows, mounted from a local Linux devbox. The projects on this mount contain a lot of symlinked directories. They all work fine and look like normal directories to Windows. What I'd like to do is figure out for a given file what its real UNIX path is.The context is: in my editor I have a script that runs the Perforce open command, to which I pass the file location.p4.exe edit FILE_LOCATION

However, perforce will not understand this FILE_LOCATION, if on the Linux side part of the path is a symlink. It needs to know the real path.What I need is something along the lines of the Linux readlink command, which resolves symlinks in paths.

View 1 Replies View Related

General :: Moving Symlinks Into A Folder Based On Id3 Tags?

Apr 3, 2010

I'm trying to get my music folder into something sensible. Right now, I have all my music stored in /home/foo so I have all of the albums soft linked to ~/music. I want the structure to be ~/music/<artist>/<album> I've got all of the symlinks into ~/music right now so I just need to get the symlinks into the proper structure. I'm trying to do this by delving into the symlinked album, getting the artist name with id3info. I can do this, but I can't seem to get it to work correctly.

for i in $( find -L $i -name "*.mp3" -printf "%h
")
do
echo "$i" #testing purposes

[code]....

I'm trying to mv The Trance Mix 3 Wanderlust - DJ Exortius [TRANCE DEEP VOCAL TECH]@ into the real directory DJ Exortius. DJ Exortius already exists, so it's just a matter of moving it into the correct directory that's based on the id3 tag of the mp3 inside.

PS: I've tried easytag, but when I restructure the album, it moves it from /home/foo which is not what I want.

View 2 Replies View Related

General :: Copy Symlinks To Target As Normal Folders?

Nov 30, 2010

i have a folder with symlinks:

marek@marek$ ls -al /usr/share/solr/
razem 36
drwxr-xr-x 5 root root 4096 2010-11-30 08:25 .

[code]....

i want to copy it to ~/solrTest but i want to copy files from symlink as well when i try to cp -r /usr/share/solr/ ~/solrTest i will have symlink here:

marek@marek$ ls -al ~/solrTest
razem 36
drwxr-xr-x 5 root root 4096 2010-11-30 08:25 .
drwxr-xr-x 358 root root 12288 2010-11-26 12:25 ..

[code]....

View 4 Replies View Related

General :: Gnome-terminal: Preserve Symlinks Of Working Directory When Opening New Tab?

Aug 31, 2010

If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab.

Is there any way to preserve the symlinks when opening a new tab?

View 1 Replies View Related

General :: No M$ Or Apple Fonts Allowed?

Dec 22, 2010

What is your favorite font that is available for Linux (anything but M$ fonts)? They can be monospaced or non-monospaced, unlike the font thread in General that only accepts monospaced ones. However, they *must* be Linux fonts; no M$ or Apple fonts allowed.

View 2 Replies View Related

General :: Add Allowed IP Address To FTP Server

Jan 13, 2010

I have a RHEL FTP server, which i'm told is setup to only allow certain IPs to connect to the FTP site. I have two questions though.1) what file would show what IPs are currently allowed?2) what command do I do to add another IP to it?

View 6 Replies View Related

General :: Not Allowed To Unzip A File In DIR?

Feb 25, 2010

I have a problem where I have certain foo.tgz files that are to big to gunzip in a directory, the box that it is on has limited space in /var/tmp for all intents and purposes. I did the standard gunzip -l to see how big the file was.

How can I look in the .tgz to see what files are there and pull out only the ones that I need. tar -t foo.tgz doesn't seem to work or am I doing something wrong?

Once I do find the file how do I only extract the one file from the .tgz, remember I can't uncompress the entire foo.tgz

View 14 Replies View Related

General :: Allowed To Remove Root File?

Jun 16, 2010

Situation as follows: i do su to root, then i create admin file with

cat > adminfile
then i exit from root issuing exit command
i can see following adminfile options
-rw-r--r-- 1 root root 10 2010-06-16 16:25 adminfile
however, after executing rm adminfile it really gets removed
-rw-r--r-- 1 root root 10 2010-06-16 16:25 adminfile

[Code]...

As i see it - others have only read permision for that file so they shouldnot be able to remove it.. :/

View 2 Replies View Related

General :: Kill Process After It's Been Allowed To Run For Some Time?

Jun 17, 2010

I want to limit the time a grep process command is allowed to run or be alive.For example. I want to perform the following:grep -qsRw -m1 "parameter" /varBut before running the grep command I want to limit how long the grep process is to live, say no longer than 30 seconds.How do I do this?And if it can, how do I return or reset to have no time limit afterwards.

View 4 Replies View Related

General :: Logging Into Server Via SSH - Allowed Ip Addresses?

Aug 26, 2010

Is there somewhere in WHM where I can allow and disallow various ip addresses to login using PuTTY for SSH.OpenSSH Server, is not running (for security reasons).If OpenSSH is not running, is there a way to allow certain ip addresses only to use ssh.

View 9 Replies View Related

General :: Double Quotation Marks Allowed In Filenames?

May 19, 2010

I tried to move a file from my desktop to another folder; moving it was not allowed, for some reason. Neither was opening it and saving a new copy in the target folder. Would that be because the filename contains double (") quotation marks? Are they not allowed? The filename is Edit of Bob's "Lady Liberty" Article.doc. [Filename not enclosed in quotation marks here, to avoid confusion.]I just changed the double quotation marks to single quotation marks; that solved everything.

View 2 Replies View Related

General :: Using Webmin: Added Allowed Host IP Address

Jul 16, 2010

I am using Webmin to access a database. I finally acquired a static IP address. After entering it into the allowed host for the PostgreSQL server, I still can't access it through the SQL Manager for postgres in Windows. It doesn't seem to actually make the change. I am the new person managing this database. The old person use to be able to just add an IP address and it would connect. Is there something I am missing that I may need to install?

View 1 Replies View Related

General :: Root User Must Not Be Allowed To Directly Login To Service Console?

May 12, 2011

I want to set security regarding with the root user. The root user must not be allowed to login directly to the service console, how will I do this?

View 4 Replies View Related

General :: Using Gnokii Utility - Copy Command As Copying Files To Home Is Not Allowed

Mar 16, 2011

iam trying to send sms using gnokii utility in linux firstly i did sudo apt-get install gnokii after that i got a gnokiirc.gz file in /usr/share/doc/gnokii/sample/gnokiirc.gz file here after that i did gunzip gnokiirc.gz then i transferred my file from the /usr/share/doc/gnokii/sample to home directory by using copy command as copying files to home is not allowed so i used sudo sudo cp gnokii /home after that i changed the port=/dev/ttyUSB2 and model=AT in the gnokiirc file in the home directory and then i wrote gnokii --identify

[Code]....

i followed as in the [URL] and [URL] and except this "Note that you will need read/write permissions on whatever serial port you specify in .gnokiirc."(iam confused what is my serial port is it ttyUSB2)

View 7 Replies View Related

Red Hat / Fedora :: Using Symlinks With SuExec

May 26, 2010

I just got a new server dedicated running php5 and SUExec. I understand the concept. INstead of running as "nobody", PHP scripts run as the user of that website. This also means I don't have to have some special directory where I set permissions to 775 or 770 with group=nobody etc just to upload files via PHP .. since PHP will upload files just as the user would using FTP. OK, great so far, and more security, I'm all for it.

View 1 Replies View Related

Software :: Symlinks Not Updating

Oct 18, 2010

Not sure what else to call it. My softlinks are not updating to reflect the parent/linked folder-files.

Code:
ln -s /folder/* /home/user/Music
This produces what I want. However, if I make any changes to /folder/, I dont see a reflected change in the links at /home/usr/Music.

A added plus would be to be able to use folder/file thumbnails from the source directory on the symlinks. Are sym links just shortcuts or are they real links to the directory (dynamic).

View 2 Replies View Related

Fedora :: How To Zip Symlinks (Real Files)

Mar 10, 2010

I have a directory full of symlinks. I want to zip them as if there were the real files. If I just zip them as usual, the resulting zip file does not contain the files at all! Is there any way to do this?

View 3 Replies View Related

Fedora :: Coverting Symlinks To Hardlinks

Aug 11, 2011

I'm wondering if there is a safe and reliable way of converting symlinks to directories to hardlinks? Basically I have a bunch of files in a directory tree under directory A, and I have in another directory B a set of symlinks to the original site. I would like all the files to end up in B and A to be empty. The links are all to directories, not to files, so the soft2hard script here won't work.

I don't have enough free diskspace to copy the files from A to B so I thought that converting the softlinks to hard links and then removing directory A would work? There are many directories, so would like to do it automatically if at all possible.

(In case anyone is intrigued, the issue is with my maildir directory. I used to use kmail, but with the move to kmail2 it became buggy and virtually unusable with large amounts of mail and I had to find another solution. I now use dovecot with gnus and mutt as MUA to access the maildirs. kmails maildirs are non-standard (!), so with the help of a script I found online, I created ~/dovecot and in it put symlinks to all the maldirs under ~/.kde/share/apps/kmail. The problem with this is if I accidentally start kmail it will try to access that directory and mess up all my tags, so I want to completely move all my mail from ~/.kde/share/apps/kmail to ~/dovecot, but without messing up all my tags etc.)

View 7 Replies View Related

OpenSUSE Network :: Samba Not Following Symlinks

Aug 19, 2011

When I access my OpenSUSE box's samba shares from another PC I am able to browse them, but am not able to follow symlinks.I've had the problem before on Ubuntu and fixed it by adding the following lines to my /etc/samba/smb.conf

unix extensions = No
wide links = Yes
follow symlinks = Yes

I've added them into my OpenSUSE smb.conf (below) but still no joy.

View 1 Replies View Related

Ubuntu :: How To Find And Clean Old Symlinks?

Mar 2, 2010

I recently tried the package "pysdm" to mount a data partition but didn't care for the way it handled things so I opted for editing fstab which I'm much more satisfied with.I did then purge pysdem and it's config files but something lingered, finally I got things working by using a UUID designation in fstab but I know there's an old symlink to a /dev/sdb7 that has since been deleted and later recreated with a new UUID.

I have "googled" enough to find that the package "fslint" should be able to handle this but since one gui got me in trouble I'm reluctant to use another, I'd prefer just being able to find where symlinks live and ripping them out by the short hairs

View 2 Replies View Related

Ubuntu :: Symlinks Across Mounted Drives?

Mar 29, 2010

What is the syntax if you want to create a symlink to a resource on a mounted drive? am I missing something?

View 2 Replies View Related

Ubuntu :: Upload Files Through Symlinks?

Sep 9, 2010

Not sure this is appropriate here but wondering if one has advantage over other in terms of sharability?

Also is it possible to upload files through symlinks? ie put a simlink to a tar ball located elsewhere on filesystem than ubuntu one/dropbox folder.

View 6 Replies View Related

Ubuntu :: Symlinks Into Encrypted Directory?

Dec 17, 2010

shed some light on what the behavior would be if I symlinked a non-encrypted directory (lets call it /media/sdcard/foo) into an encrypted home directory (lets say home/documents/sdcard-docs)Would files written to that symlinked directory be encryptedgarbled, or would they be normal? would files that were attempted to be read be interpreted as encrypted, or would they be read properly?

View 1 Replies View Related







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