problem creating folder

Questions about applications and software
Forum rules
Before you post please read how to get help
wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

problem creating folder

Post by wpshooter » Fri Jul 05, 2019 2:44 pm

For some strange reason I can no longer create a sub-folder under my /home/pictures/spypoint folder.

When I attempt to do this, it just creates an empty folder (i.e. without a name), it does not give me the option
of assigning a name to the new folder like it has always done in the past. I CAN create and name folders in
other folders and subfolders just fine, just will not allow me to do it at /home/pictures/spypoint folder.

Any idea as to what is going on.

Thanks.

User avatar
Pjotr
Level 21
Level 21
Posts: 13710
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: problem creating folder

Post by Pjotr » Fri Jul 05, 2019 2:50 pm

Make sure the permissions in your /home are correct:

Code: Select all

sudo chown -R -v $USER:$USER $HOME
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 3:13 pm

Pjotr wrote:
Fri Jul 05, 2019 2:50 pm
Make sure the permissions in your /home are correct:

Code: Select all

sudo chown -R -v $USER:$USER $HOME
I ran that command "sudo chown, etc. etc., but I have no idea as to what any of that means.

I just tried to take a screenshot to show you that I get different result when attempting to create folder at /home/pictures/brown-1 (it works fine at that subfolder) but if I try the same thing it will not work at /home/pictures/spypoint. When I attempt to do screenshot to show you the difference it will not even allow me to save the screenshots to my /home folder. What the heck is going on ???

What I am trying to do is import some of my pictures off of my trail camera (spyoint, in this case), and I do this every several days, so I am familiar with the procedure, but today all of a sudden it will not allow me to create new date numbered folder (i.e. 2019-07-05) at sypoint but it will allow me to create the folder at brown-1 or any other location, why all of a sudden can I no longer create new folder at spypoint ?

Thanks.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 3:24 pm

I just went to /home/pictures/spypoint and chose OPEN AS ADMINISTRATOR from right hand click menu
and then it allowed me to create a 2019-07-05 subfolder just fine. I have never had to do this at this spypoint
folder before, so why is it that all of a sudden today, I have to request it be opened as Administrator ?

Thanks.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 3:26 pm

wpshooter wrote:
Fri Jul 05, 2019 3:13 pm

I ran that command "sudo chown, etc. etc., but I have no idea as to what any of that means.
Can you paste the output it gave you? The -v option should have showed what permissions were changed, or if there were any errors.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 3:29 pm

wpshooter wrote:
Fri Jul 05, 2019 3:24 pm
I just went to /home/pictures/spypoint and chose OPEN AS ADMINISTRATOR from right hand click menu
and then it allowed me to create a 2019-07-05 subfolder just fine. I have never had to do this at this spypoint
folder before, so why is it that all of a sudden today, I have to request it be opened as Administrator ?

Thanks.
And now the 2019-07-05 sub folder is owned by root. Run the command Pjotr gave again.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 3:32 pm

MrEen wrote:
Fri Jul 05, 2019 3:29 pm
wpshooter wrote:
Fri Jul 05, 2019 3:24 pm
I just went to /home/pictures/spypoint and chose OPEN AS ADMINISTRATOR from right hand click menu
and then it allowed me to create a 2019-07-05 subfolder just fine. I have never had to do this at this spypoint
folder before, so why is it that all of a sudden today, I have to request it be opened as Administrator ?

Thanks.
And now the 2019-07-05 sub folder is owned by root. Run the command Pjotr gave again.
In sudo chown -R -v $USER:$USER $HOME

Is $USER a literal or a variable ?

Thanks.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 3:35 pm

Do it exactly as it was posted.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 3:38 pm

MrEen wrote:
Fri Jul 05, 2019 3:35 pm
Do it exactly as it was posted.
I copied it just as it was given and ran at the terminal and doing so made no difference as far as I can tell, still will
not allow me to create folder at /home/picture/spyoint UNLESS I choose open as administrator, which I have not/do not
normally have had to do in the past.

Thanks.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 3:39 pm

Was there any output?

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 3:48 pm

MrEen wrote:
Fri Jul 05, 2019 3:39 pm
Was there any output?
I ran it again just for good measure and yes tons of it all of which says retaining my "user name" for most
everything on the hard drive including /home/pictures/spypoint But still can not create new folder and name it under
spypoint but CAN create new folders and name them everywhere else.

Thanks.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 3:50 pm

Okay. What's the output from ls -la /home/pictures/spypoint?

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 4:05 pm

MrEen wrote:
Fri Jul 05, 2019 3:50 pm
Okay. What's the output from ls -la /home/pictures/spypoint?
I get: ls: cannot access '/home/Pictures/Spypoint': No such file or directory

Please note that P and S are CAPS.

Is that a valid command ? Because I can CD to Pictures and CD to Spypoint just fine at the terminal.
Can also see both of them just fine from file manager.

Thanks.
Last edited by wpshooter on Fri Jul 05, 2019 4:11 pm, edited 1 time in total.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 4:10 pm

Is there any chance it should be /home/YourUserName/Pictures/Spypoint ? If so, try ls -la ~/Pictures/Spypoint exactly as written.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 4:14 pm

That gave me:

total 116
drwxr-xr-x 29 wpshooter wpshooter 4096 Jul 5 15:43 .
drwxr-xr-x 4 wpshooter wpshooter 4096 Jan 6 17:54 ..
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-09-29
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-10-24
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-10-25
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-10-30
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-10-31
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-11-09
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-11-17
drwxr-xr-x 3 wpshooter wpshooter 4096 Dec 5 2018 2018-11-19
drwxr-xr-x 3 wpshooter wpshooter 4096 Jan 6 17:55 2019-01-06
drwxr-xr-x 3 wpshooter wpshooter 4096 Jan 8 19:25 2019-01-08
drwxr-xr-x 3 wpshooter wpshooter 4096 Feb 26 20:10 2019-02-26
drwxr-xr-x 3 wpshooter wpshooter 4096 Mar 14 18:23 2019-03-14
drwxr-xr-x 3 wpshooter wpshooter 4096 Mar 16 18:32 2019-03-16
drwxr-xr-x 3 wpshooter wpshooter 4096 Mar 20 18:57 2019-03-20
drwxr-xr-x 3 wpshooter wpshooter 4096 Mar 24 18:34 2019-03-24
drwxr-xr-x 3 wpshooter wpshooter 4096 Mar 27 19:35 2019-03-27
drwxr-xr-x 3 wpshooter wpshooter 4096 Apr 3 19:19 2019-04-03
drwxr-xr-x 3 wpshooter wpshooter 4096 Apr 25 19:05 2019-04-25
drwxr-xr-x 3 wpshooter wpshooter 4096 Apr 27 20:25 2019-04-27
drwxr-xr-x 3 wpshooter wpshooter 4096 May 10 14:59 2019-05-10
drwxr-xr-x 3 wpshooter wpshooter 4096 May 14 19:32 2019-05-14
drwxr-xr-x 3 wpshooter wpshooter 4096 May 28 12:13 2019-05-28
drwxr-xr-x 3 wpshooter wpshooter 4096 Jun 1 12:05 2019-06-01
drwxr-xr-x 3 wpshooter wpshooter 4096 Jun 5 11:06 2019-06-05
drwxr-xr-x 3 wpshooter wpshooter 4096 Jun 11 11:01 2019-06-11
drwxr-xr-x 3 wpshooter wpshooter 4096 Jun 14 14:07 2019-06-14
drwxr-xr-x 3 wpshooter wpshooter 4096 Jun 26 12:49 2019-06-26

See all of my subfolders like 2019-06-26, for the last date that I imported pictures from trail camera to hard drive.

Why can I not create a 2019-07-05 for today ?

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 4:23 pm

Is there any chance you're running your File Manager as someone other than wpshooter? No other users have write permissions to that folder.

You could also try to create the folder from the terminal with mkdir ~/Pictures/Spypoint/NewFolderName and see what happens with that.

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 4:29 pm

Yes, actually I just thought of that, works fine at terminal see new folder that I added at terminal for 2019-07-05

This tells me that there must be something amiss with the file manager application. Hope someone fixes it.

wpshooter@Linux-Mint-Desktop-19:~/Pictures/Spypoint$ ls
2018-09-29 2018-10-30 2018-11-17 2019-01-08 2019-03-16 2019-03-27 2019-04-27 2019-05-28 2019-06-11
2018-10-24 2018-10-31 2018-11-19 2019-02-26 2019-03-20 2019-04-03 2019-05-10 2019-06-01 2019-06-14
2018-10-25 2018-11-09 2019-01-06 2019-03-14 2019-03-24 2019-04-25 2019-05-14 2019-06-05 2019-06-26
wpshooter@Linux-Mint-Desktop-19:~/Pictures/Spypoint$ mkdir 2019-07-05
wpshooter@Linux-Mint-Desktop-19:~/Pictures/Spypoint$ ls
2018-09-29 2018-10-30 2018-11-17 2019-01-08 2019-03-16 2019-03-27 2019-04-27 2019-05-28 2019-06-11 2019-07-05
2018-10-24 2018-10-31 2018-11-19 2019-02-26 2019-03-20 2019-04-03 2019-05-10 2019-06-01 2019-06-14
2018-10-25 2018-11-09 2019-01-06 2019-03-14 2019-03-24 2019-04-25 2019-05-14 2019-06-05 2019-06-26

Thanks.

User avatar
MrEen
Level 14
Level 14
Posts: 5386
Joined: Mon Jun 12, 2017 8:39 pm

Re: problem creating folder

Post by MrEen » Fri Jul 05, 2019 4:32 pm

Maybe just rebooting might sort it out?

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 4:41 pm

MrEen wrote:
Fri Jul 05, 2019 4:32 pm
Maybe just rebooting might sort it out?
That, of course, was the first thing I tried, did not fix.

Attached if screenshot of untitled folder when done via file manager. Will not even let me rename the untitled folder.

Really strange that the problem is on only this one folder !!!

Thanks.
Attachments
new Screenshot at 2019-07-05 16-36-13.png

wpshooter
Level 5
Level 5
Posts: 781
Joined: Sun May 22, 2011 8:06 am

Re: problem creating folder

Post by wpshooter » Fri Jul 05, 2019 4:43 pm

Is it possible that this is a FAT problem ?

Is there a utility for verifying / fixing the FAT ?

Thanks.

Found it, did not fix my folder creation problem.
Last edited by wpshooter on Fri Jul 05, 2019 5:52 pm, edited 1 time in total.

Post Reply

Return to “Software & Applications”