Cannot Access Error In Unix
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads chmod cannot access no such file or directory with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack chown cannot access no such file or directory Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up chmod cannot access 777' no such file or directory Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top chmod: cannot access 'file' : No such file or directory error when the file exists up vote 1 down chmod cannot access not a directory vote favorite I downloaded and saved 2 files on Linux tails live os. I have set the appropriate permissions on those 2 files to allow them as executable. This is the command I used. sudo chmod 777 home/amnesia/Desktop/file sudo chmod 777 file However, when I try to access these 2 files, both the files yield me an error as cannot access. I am not sure why it isn't recognizing the file permissions correctly. permissions chmod share|improve this question edited Nov 7 '14 at 21:45 Ramesh 15.9k1674124
Chmod Cannot Access Permission Denied
asked Nov 7 '14 at 21:39 Hodurrr 50228 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted this to: sudo chmod 777 home/amnesia/Desktop/file this: sudo chmod 777 /home/amnesia/Desktop/file you left a '/' slash better to use will be: sudo chmod 777 ~/Desktop/file share|improve this answer answered Nov 7 '14 at 21:47 Hackaholic 61716 1 Doesn't seem to work –Hodurrr Nov 7 '14 at 22:00 @hodurrr whats the output of echo $HOME. tell me –Hackaholic Nov 7 '14 at 22:02 what is the location of file, if you download it may be in download folder instead of Desktop –Hackaholic Nov 7 '14 at 22:09 The output is /home/amnesia and the location of the file is also /home/amnesia –Hodurrr Nov 7 '14 at 22:12 @hodurrr then do this sudo chmod 777 ~/file –Hackaholic Nov 7 '14 at 22:13 | show 2 more comments Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged permissions chmod or ask your own question. asked 1 year ago viewed 22195 times active 1 year ago Related 8Is NTFS under linux able to save a linux file, with its chown and chmod
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company
Cannot Access No Such File Or Directory Ubuntu
Business Learn more about hiring developers or posting ads with us Stack Overflow Questions chmod cannot access 755 Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million chmod warning can't access programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unix file permissions, WARNING: can't access up vote 0 down vote favorite I'm trying to change the permissions of a few http://unix.stackexchange.com/questions/166728/chmod-cannot-access-file-no-such-file-or-directory-error-when-the-file-exis files that are used with a webpage I'm uploading to my site. I'm using the Unix command line to do it. I've tried two commands: chmod 755 index.html chmod 644 index.html But I get the message chmod: WARNING: can't access index.html after using these commands for some reason, and I have no idea why... initially I though it might be because I had the file open in a couple of programs (text editor and http://stackoverflow.com/questions/15300309/unix-file-permissions-warning-cant-access web browser), but I've closed these down, and I'm still getting the same problem... any idea why, and how I can set the permissions correctly so that the file will be viewable by anyone on the web, but only editable by me? Cheers! unix file-permissions share|improve this question asked Mar 8 '13 at 17:57 someone2088 5621237 It's too bad the chmod command is not telling you the specific error that is preventing it from accessing index.html. Try ls -l index.html and see if ls can access it. Logically, it won't be able to, but ls ought to give you a more informative error message. –Celada Mar 8 '13 at 18:04 what flavor unix are you using and what is the location of this file? also like @Celada said, please do a ls -l to see what the permissions are for this file. –Classified Mar 8 '13 at 18:43 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted Here's a link that looks similar to your problem but it's on Solaris: http://www.unix.com/solaris/45229-unable-chmod-file-directory.html The solution is on pg 2 of this thread but the Cliff's note version of the solution is the person found that something else was mounting at that directory. It showed up when they ran df -k /their_dir_loca
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/cannot-execute-the-move-command-inspite-of-permission-777-3602305 SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS https://www.unixmen.com/can-see-samba-share-in-windows-but-cant-access-them-linux/ Paul_Pedant MarkDeVries DACREE Inside-ERP MacProTX VoIP_News Inside-CRM I_am_the_dragon PCMag Michael Meyers-Jouan maxwellarnold TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Richard Locutus DukeGanote Craig Borysowich Ramnath.Awate Dennis Stevenson Nikki Klein AbhaiTripathi mircea_luca bluesguyAZ59 cannot access Clinton Jones knowscognosdoi iudithm Iqbalyk COMPANIES Juniper Networks CloudLock Avaya Adaptive Planning View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Shell Script The Shell Script group is a forum where peers share technical expertise, solve problems, and discuss issues related to the use of Shell Scripts to configure UNIX chmod cannot access or UNIX-like systems. Home | Invite Peers | More UNIX Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. Cannot execute the move command inspite of permission 777 manka asked Jun 29, 2010 | Replies (6) Hi, I have a script move.sh as follows: #!/bin/ksh appdir= /home/bkam000/Test/USTIMECARD mv $appdir/*.xml /home/bkam000/Test/newdir paydir= /home/bkam000/Test/USPAYROLL mv $paydir/*.xml /home/bkam000/Test/newdir When I'm executing this script I'm getting the following error: $ move.sh .//move.sh[2]: /home/bkam000/Test/USTIMECARD: cannot execute mv: /*.xml: cannot access: No such file or directory .//move.sh[4]: /home/bkam000/Test/USPAYROLL: cannot execute mv: /*.xml: cannot access: No such file or directory I have
Home Linux distributions Linux tutorials News Frequently Asked Questions Opensource Unix Ask/unixmen Home Linux distributions Can see samba share folders in windows but can`t access them |Linux Can see samba share folders in windows but can`t access them |Linux By M. Zinoune Share on Facebook Tweet on Twitter tweet Question: I installed and configured samba share on Ubuntu, now from a windows machine i can see the shared folders but i can not access them, how i can resolve this? . . . Answer: Open terminal and run the following command to edit samba config file sudo gedit /etc/samba/smb.conf Look for these lines Then change wins support = no name resolve order = lmhosts host wins bcast and change them to look something like this: wins support = yes name resolve order = wins lmhosts hosts bcast Now restart samba sudo service smbd restart And is done. If you have any question please post it on our Q/A forum- Thanks Loading...
SHARE Facebook Twitter tweet Previous articleonline-convert- A nice website to convert your files the easy wayNext articlePlayOnLinux 4.0.16 now can start exe from terminal, support for Desura and more M. Zinoune RELATED ARTICLESMORE FROM AUTHOR Linux distributions Transmission-daemon: Setting up Transmission Web On Debian Frequently Asked Questions How to install Snap in Fedora24 Linux distributions Install, Upgrade and Review of Linux Mint 18 (Sarah) X Follow @unixmen Contact UnixMen Loading... EDITOR PICKS APT: Rebuilding Package in Debian Linux tutorials How to backup with rsync Tips & Tricks Fun in Terminal Featured POPULAR POSTS Everything you should know about RHCSA Certification CentOS ‘Ifconfig' Command Not Found In CentOS 7 Minimal Installation - A... CentOS How to install Univention Corporate Server Linux tutorials POPULAR CATEGORYLinux distributions1473Software569Linux tutorials455News424Frequently Asked Questions313Opensource267Releases138CentOS118Unix113 ABOUT USUnixmen provide Linux Howtos, Tutorials, Tips & Tricks ,Opensource News. It cover most popular distros like Ubuntu, LinuxMint, Fedora, Centos. It is your Gate to the the world of Linux/Unix and Opensource in General. Privacy PolicyContact us: contact (at) theeighthnetwork (dot) comFOLLOW US © Copyright 2015 - Newspaper 6 by TagDiv