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


ADVERTISEMENT

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

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

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

Slackware :: 13.37 UNC With SaMBa Hostaname From Win7 Box Not Resolving Via Broadcast

Jul 7, 2011

I have installed Slackware on MANY boxes over the years and SaMBa has always resolved hostnames via UNC (\slacksharename) on a local net, but I am now at a loss after trying this at home. A UNC to the share via IP (\192.168.1.123sharename) does work fine, but this is the 1st Slackware distro I have ever had problems with resolving a broadcasted UNC. Subnet is 255.255.255.0 w/ both machines plugged into a switch and they are "linked" fine and other versions of Slack worked fine... This is for a one-trick pony, SaMBa share only, but she is not doing tricks! My other Slack box 13.1.0 resolves a Windows 7 \hostnameshare request UNC fine on the same net. smb.conf (This is not the share I am going to use, but if once this works I can get a /dev/md mounted and shared with minor changes):

Quote:
[global]
server string = Server2
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
[Code]....

View 10 Replies View Related

Networking :: OpenVPN + Samba Wins (weird Ip Address Resolving)?

Mar 8, 2010

I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.

I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.

View 9 Replies View Related

General :: Set Default Permissions For New Folders On Mounted Samba Volume?

Feb 1, 2010

I have mounted samba volume and I need to have write permissions for every new folder that's being created (currently, by default, on every newly created folder i have only read and execute permissions).I tried changing umask, but with no effect on mounted folder, umask changed only for local filesystem. I tried mounting with umask option, but with no effect again.I'm using ArchLinux on this machine, and I installed samba using default package manager (pacman).

View 1 Replies View Related

General :: Mounted Windows Drive In Ubuntu But Cannot Log Onto Windows Now?

Jun 21, 2010

I'm new to Linux and I was running Windows Vista before. I mounted my Windows hard drive into Ubuntu and now whenever I try to long onto Windows I get a black screen with the mouse where the log-in page should be. I used all the commands that was I had read about like "sudo mount" and stuff and I can see my Windows files in Ubuntu but no log-on page for Windows.

View 14 Replies View Related

Fedora Networking :: Samba Not Showing Symlinks Under Fedora 12

Mar 9, 2010

We recently upgraded our Samba server from Fedora 10 to Fedora 12. After the upgrade, when users connect to a Samba share from their Windows PCs, they can no longer see the symlinks in the share like they used to under Fedora 10.We are using the same smb.conf file as under Fedora 10, so I'm not sure what has changed.

View 2 Replies View Related

General :: Windows - Ubuntu: Filesystem Could Not Be Mounted?

Feb 26, 2010

I run Windows Vista and Ubuntu 9.10 dual boot. Today while booting windows, it informed me that there was something wrong with my hard disk and it would perform a check, and made some fixes.

Only when I wanted to boot into ubuntu again did I realise that the disk check had corrupted my linux partition. Ubuntu's load screen shows up, but just before the login screen it says that the filesystem could not be mounted.

Is there a way I can fix this? And how do I prevent windows from doing the same in the future?

View 1 Replies View Related

Networking :: Windows 7 Intermittent - Resolving Host Aliases Against BIND 9.6.2?

Jan 15, 2011

I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.

Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.

Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.

View 1 Replies View Related

Debian Configuration :: Resolving Host - Connection When Using Browser Or Downloading Is Noticeably Slower Than When Using Windows

Mar 8, 2010

I just installed a dual boot XP/Debian 5.0.4 setup on my Dell 5100 laptop. I now have constant problems with "resolving host" when using Debian. The connection when using a browser or downloading is noticeably slower than when using Windows or my Ubuntu install on my desktop. Also, whenever using the Debian install on my laptop, both it and my desktop, which both connect through the same Linksys router, constantly show "resolving host" (Chrome browser) until it just timeouts. Rebooting the DSL modem sometimes fixes it for a while (although it's still slow even then), but it eventually happens again. Turn off the laptop/switch to the XP OS on it, and the problems disappear on both the laptop and desktop. Is this a known problem for Debian 5.0.4?

View 7 Replies View Related

Software :: Some Applications Will See Mounted Samba Shares And Some Won't

Jul 11, 2011

I have used Linux on and off over the past 15 years. Linux has been the solution to a lot of my networking problems over the years. I work in a school and I am keen to setup Linux labs for the students. Users can logon with their active directory [Micoroft accounts] and can access their files off server drives. All this is made easy with the help of CentrifyDC. I can simply access a network share and CentrifyDC handles the authentication.

My issue is that some applications will see mounted samba shares and some applications won't. For example I can open and save files to my Windows servers using applications such as Openoffice, Gnumeric, Abiword. However apps like DIA will only show local drives. Maybe some applications use the default file manager where the mounts are bookmarked whilst other use their own file manager?

View 3 Replies View Related

General :: Change Default File Permission For Mounted Windows Network Share?

Jul 26, 2010

I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?

Maybe this question also applies for Linux mounting a Windows network share.

View 1 Replies View Related

Debian :: No Write Access To Mounted Volume (over Samba)

Aug 10, 2011

I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials.

When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.

I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".

How can I overcome this problem?

- Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?

- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?

- Should I do any extra configuration before the mounting etc?

View 2 Replies View Related

OpenSUSE Install :: Samba Share Not Mounted At Boot?

Apr 9, 2011

I upgrade from 11.2 to 11.4 and now, my samba share does not mount at boot time. I see nothing in the log. What is changed in 11.4 ?

View 6 Replies View Related

Ubuntu :: SAMBA Share Reports As Mounted But No Files Visible?

May 26, 2010

In my fstab I have this entry to connect to my NAS box:

Code:
//192.168.0.1/share /mnt/share cifs username=user,password=******,auto 0 0.For a while it was connecting on startup with no problem (it connects via wifi). But now when I navigate to the directory there is nothing there. However if I run mount it reports this:

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Samba Sharing Of A Mounted Remote Volume?

Apr 21, 2011

I'm running 10.04 server on a Mac G5 with 2 network interfaces, one pointing to my network (192.168.0.x) and the other to a local partner network (192.9.100.x) with which we share a network volume to give/take PDF files.My client environment is MAC OS X (from 10.4 to 10.6) and until now only one client (with 2 nics) was connected to that volume: we don't have layer3 switches to do static routes over the two networks, so I decided to use my Ubuntu Server Mac to do this (it's also my new syslog server...).

Nics are configured correctly, and the local share (192.168.0.x) is well seen by everybody.But, when I mount the remote volume (192.9.100.x) to THAT shared folder, nobody is able to connect to the samba share (that now lists the remote volume directory...). The MAC OS X tells "unable to unmount the volume". IP forwarding is also activated on /etc/sysctl.confHere is a part of my smb.conf file

#======================Share Definitions ====================
[TERA]
comment = Tera Condiviso

[code]....

View 2 Replies View Related

Ubuntu :: File Browser Will Not Maintain State Mounted To Samba Share?

May 12, 2010

I am running Ubuntu 10.4 [64bit] on a AMD dual core with 4gb of RAM. My Problem: I am mounting to a Windows share from my Ubuntu box and everything is working as expected however, when a file is added, deleted, or modified the Ubuntu File browser does not reflect that change until the next refresh. The Windows users with Explorer will reflect the change immediately and automatically.

Is there a way to make the Ubuntu File Browser respond like Explorer when mounting to a Windows share? I call this behavior "maintaining state".

View 1 Replies View Related

Ubuntu Networking :: Samba Can Share Mounted Thumb Drive But Can't Write?

Sep 6, 2010

so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.

i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].

for sda1 with rw access, here are the smb.conf settings:

Code:
[shared]
path = share
available = yes
valid users = mark

[Code]....

View 1 Replies View Related

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 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

Ubuntu :: Mounted Windows 7 Partition - Now Windows 7 Won't Boot

Jan 25, 2010

I'm using Karmic Koala 9.10 (amd64) on /dev/sdb6 and windows 7 on /dev/sda2. I mounted my windows 7 partition in Nautilus. I copied some files and made some folders from Nautilus onto my windows 7 partition. I tried booting into windows 7 but it failed on loading Windows 7. It then gave me a blue screen flashes and then restarted. The blue screen flashes so quickly i cannot determine the exact issue. I tried booting into windows 7 in Safe mode. It fails to load and gives what i believe is the same blue screen. I used to be able to read and write files onto my old XP and Vista partitions. Now with windows 7, I seems that I can't.

View 1 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 :: RPM - Aid Not Resolving Dependencies ?

Nov 29, 2010

I am installing rpm using the switch "--aid". But it is not resolving dependencies! I am using RHEL 5.

View 1 Replies View Related

Networking :: When Logon On Samba Domain The Windows XP Does Not Load Profiles From Samba?

Jan 3, 2011

I have update my linux server from mandriva 9 to mandriva 2010

I was working using samba 2.2.8 and now I have samba 3.5.3.I have transfer all passwd and smbpasswd to new linux.I have convert smbpasswd to tdbsam

when i am using win xp to logon on samba domain the windows XP does not load profiles from samba. I think that the problem is NTUSER.DAT storing in /home/user/profile

The same profile is working using samba 2.2.8 but not working in samba 3.5.3..

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

Fedora Networking :: Unknown Samba Password - Use Samba For File Sharing Like On A Windows Home Network

Jul 17, 2010

I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.

My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.

View 2 Replies View Related

General :: Automatically Resolving Rpm Dependencies ?

Nov 23, 2010

I installed fedora core 10 on my pc & now i have been trying to install samba. I dont have a network so i mount and use my dvd for installation. I lack exotic package management tools like apt or yum yet the system-config-packages tool does not make sense either. so am stuck with the rpm -ivh [package] command.

The issue however is that this command returns querries about missing dependencies when I attempt to install. So is there a way (switch) i can add to tell the rpm command to automatically check and solve these dependecies using the Packages folder on my mounted dvd? - because i believe all these dependencies are on the dvd.

View 1 Replies View Related







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