Bug 232356

Summary: NFS Client fails with error response when wien mount point Directory name contains a space
Product: [openSUSE] openSUSE 10.2 Reporter: Scott Couston <scott>
Component: YaST2Assignee: Ruediger Oertel <ro>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: SUSE Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: .jpg screen shot
.jpg screen shot
.jpg screen shot
rcnfs-spaces.diff

Description Scott Couston 2007-01-05 23:58:09 UTC
If you select a directory as a local mount point and there is a space in the directory name and error response is issues, however functionally it works perfectly in a browser. This was not an issue in 10.1
Comment 1 Scott Couston 2007-01-06 22:17:50 UTC
Correction to 1 #. This IS also an issue with 10.1
Comment 2 Cyril Hrubis 2007-01-09 12:56:04 UTC
Please explain more exactly what you did? If you typed mount command with path witch contained space it's not a bug. Every single command or parameter in shell is divided by space so that every line with space shloud have backslash before this space in order not to be divided by shell.
Comment 3 Scott Couston 2007-01-10 02:53:20 UTC
Create the NFS server with YAST and change file permissions to allow directory to be shared. - ALL o.k

Open the client, type the IP of the NFS Server.
Select the shared NFS drive.
Create and local mount point of 'NFS Server'
See attached .jpg screen shot.
This does not occur if the local mount point directory name does not contain a space
Comment 4 Scott Couston 2007-01-10 02:53:56 UTC
Created attachment 112133 [details]
.jpg screen shot
Comment 5 Scott Couston 2007-01-10 02:54:31 UTC
Created attachment 112134 [details]
.jpg screen shot
Comment 6 Scott Couston 2007-01-10 02:55:13 UTC
Created attachment 112135 [details]
.jpg screen shot
Comment 8 Martin Vidner 2007-02-01 10:37:07 UTC
It is because yast checks with "rcnfs status" whether the mount succeeded.
If there are escapes in the mount point path, rcnfs has a bug.
Patch follows.
Comment 9 Martin Vidner 2007-02-01 10:37:42 UTC
Created attachment 116773 [details]
rcnfs-spaces.diff
Comment 10 Ruediger Oertel 2007-03-01 16:34:58 UTC
thanks for the patch, fixed for STABLE/factory