HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Blank in Samba Share Directory Name
Operating System - HP-UX
1837646
Members
3201
Online
110117
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:06 AM
02-17-2005 05:06 AM
Blank in Samba Share Directory Name
A user cannot delete a file on a samba share with "does not support extended attributes error". I wanted to look on the UNIX side but am unable to change directory to:
/support/apps/samba/sharing/Project Documentation
Note the blank between Project and Documentation. I tried \ to escape and other regular expressions, quoting/etc. but when the blank gets substituted all I get from the shell is errors like the following:
root@gold:/support/apps/samba/sharing# echo $TEMP
Project Documentation
root@gold:/support/apps/samba/sharing# cd $TEMP
sh[52]: Project: not found.
root@gold:/support/apps/samba/sharing# cd
root@gold:/support/apps/samba/sharing# cd "Project Documentation"
sh[52]: cd: The specified substitution is not valid for this command.
How can I cd into this directory to see the file names under Project Documentation folder. CAn see them from the Windows share, but can not delete the files below there that have the extended attributes error.
/support/apps/samba/sharing/Project Documentation
Note the blank between Project and Documentation. I tried \ to escape and other regular expressions, quoting/etc. but when the blank gets substituted all I get from the shell is errors like the following:
root@gold:/support/apps/samba/sharing# echo $TEMP
Project Documentation
root@gold:/support/apps/samba/sharing# cd $TEMP
sh[52]: Project: not found.
root@gold:/support/apps/samba/sharing# cd
root@gold:/support/apps/samba/sharing# cd "Project Documentation"
sh[52]: cd: The specified substitution is not valid for this command.
How can I cd into this directory to see the file names under Project Documentation folder. CAn see them from the Windows share, but can not delete the files below there that have the extended attributes error.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:09 AM
02-17-2005 05:09 AM
Re: Blank in Samba Share Directory Name
Please tell me:
1) Version of Samba on the server
2) OS of the client.
I believe this should be supported.
SEP
1) Version of Samba on the server
2) OS of the client.
I believe this should be supported.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:10 AM
02-17-2005 05:10 AM
Re: Blank in Samba Share Directory Name
Blanks (spaces) are perfectly legal in UNIX pathnames -- they are merely discouraged because of exactly the parsing difficulties you face.
/support/apps/samba/sharing/Project Documentation
doesn't work but:
'/support/apps/samba/sharing/Project Documentation'
You need to quote (single or double quootes will work) pathnames that contain spaces.
/support/apps/samba/sharing/Project Documentation
doesn't work but:
'/support/apps/samba/sharing/Project Documentation'
You need to quote (single or double quootes will work) pathnames that contain spaces.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:27 AM
02-17-2005 05:27 AM
Re: Blank in Samba Share Directory Name
The single quotes produces same shell error:
root@gold:/support/apps/samba/sharing# cd 'Project Documentation'
sh[52]: cd: The specified substitution is not valid for this command.
root@gold:/etc/opt/samba#
HP-UX version is 11.00
Samba version is:
CIFS-Server A.01.07 CIFS/9000 (Samba) File and Print Services
I tried listing non-printing characters to see if something else is there but it is a blank and ls can find subdirs. with a wild card and rm would also but do not watn to rm -i there is tons of stuff there. I would like to cd into these cirectories: Note this listing
root@gold:/support/apps/samba/sharing# ls -bd Project*
Project Documentation/ Projects - Active/
root@gold:/support/apps/samba/sharing# cd 'Project Documentation'
sh[52]: cd: The specified substitution is not valid for this command.
root@gold:/etc/opt/samba#
HP-UX version is 11.00
Samba version is:
CIFS-Server A.01.07 CIFS/9000 (Samba) File and Print Services
I tried listing non-printing characters to see if something else is there but it is a blank and ls can find subdirs. with a wild card and rm would also but do not watn to rm -i there is tons of stuff there. I would like to cd into these cirectories: Note this listing
root@gold:/support/apps/samba/sharing# ls -bd Project*
Project Documentation/ Projects - Active/
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP