Questions tagged as ['directory']

A component of a Unix filesystem which contains other items, to organise the filesystem
Score: 0
Manuel Jordan avatar
How add group write permissions for a mounted shared directory? (client/server case)
kz flag

I have a MacOS with a shared directory. I am able to access in Ubuntu Linux with:

# From Linux to MacOS
sudo mount -t cifs //192.168.1.X/directory_shared
                   /mnt/192.168.1.X/directoryname
                   -o username=username,
                   rw,
                   uid=####,
                   gid=####,
                   nounix,sec=ntlmssp

The problem is that if I do ls -l in the  ...

Score: 0
usb_bunny avatar
Is there a way to enable checkboxes in the Nemo file manager?
id flag

Is there a way to enable checkboxes in the Nemo file manager to select multiple files/folders?

Score: 0
Kevona Anandanpulle avatar
pip3 install -r requirement.txt not working
cn flag

i used pip3 install -r requirement.txt but it doesn't seem to work it gives an error as follows. ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt'

Score: 1
Rob avatar
How can I increase the capacity of my /home/rob/downloads folder?
in flag
Rob

My downloader, yes it is sabnzbd, says I have too little space in my home/rob/downloads folder, no idea on how to increase a folder size though...... Please some help is much appreciated! Yes, I am a newby

Score: 0
Dash app-folders
us flag

recently, I reinstalled 4 of my PC under Focal Ubuntu 20.04.3 properly (from 0, nothing). 2 are completly OK, but 2 have a strange behaviour with the dash when I want to manage apps in folders. The way to do is to drag and drop icons with themselves. The first time to do this, create a folder ; then, you can drag and drop others icons in this folder, and you can even rename the folder. Everything is OK  ...

Score: 0
Izwan Zaki avatar
Detect major alarm "LowAvailableSpace" on Monitoring System
cn flag

Monitoring system detected "LowAvailableSpace" on filesystem cgmfs.

I checked on the server and the filesystem (cgmfs) space size is low.

Results of df -H:

Filesystem      Size  Used Avail Use% Mounted on  
udev            271G     0  271G   0% /dev  
tmpfs            55G  4.4G   50G   9% /run  
/dev/sda1       471G   45G  403G  10% /  
tmpfs           271G     0  271G   0% /dev/shm  
tmpfs           5 ...
Score: 2
Ferdinando Cermelli avatar
How to store a file save path
nr flag

I save a file in a folder. At the next save (from a different file) I have to reset the entire path. How can I memorize it in order to have the saves all in the first path until the end of the work section?

Score: 0
PooiaFerdowsi avatar
No command executes when i deleted /lib64
au flag

I executed command rm -rf * when i was in lib64 or a directory inside it.

(Through comments/answers problem is that i deleted ld-linux-x86-64.so.2 and i don't have a temporary one inside /var/lib64)

(I have busybox )

Then I can't execute most of bash commands like ls,bash. When i try to execute them i see:

bash: /usr/bin/bash: No such file or directory

or

bash: /usr/bin/ls: No such file or directo ...
Score: 1
pasha19 avatar
Where should an Ubuntu admininstrator (user) mount directories not established by the distribution?
cn flag

I have read the Linux Filesystem Hierarchy

I found an operative statements to be

For /mnt it notes some distributions create automount directories for floppies and cdroms there (and one should probably not assume that list is complete in terms of distributions using /mnt or the directories they use, imho)

for /srv the LHS states

Distributions must take care not to remove locally placed files in th ...
Score: 1
Chen-Y0y0 avatar
Cannot remove a directory on NTFS file system even I used "rm -rf"
in flag

I cannot remove a directory called “系统漏洞补丁”(please don't care the name of it) on Windows anyway, so I came to Ubuntu 20.04 LTS and tried to remove it. But even I used rm -rf 系统漏洞补丁 . It said: rm: cannot remove '系统漏洞补丁': Directory not empty
And here is the result of ls -al 系统漏洞补丁:

total 8
drwxrwxrwx 1 user user 0 Nov 5 17:51 .
drwxrwxrwx 1 user user 0 Nov ...
Score: 0
Ommadawn avatar
Dolphin reading remote folders is slow
pe flag

I've mounted several folders from a my NAS and when I try to access them using Dolphin with KDE Plasma 5, it starts to read and try to get the number of elements of each folder.

It takes a lot of time to do that (even, several minutes) because I've got a huge library of files and folders inside.

Is it possible to disable this feature with remote folders or anything to avoid that behaviour?

Thanks!

 ...
Score: 0
Which file operations trigger directory modification time and date to change?
yt flag

I have a directory named IT-documentation. Using ls -l in the terminal at its parent directory level yields (among numerous other lines)

drwxr-xr-x 16 robin robin 4096 Oct 31 08:02 IT-documentation

Now I say cd IT-documentation, then repeat ls -l. Among the numerous other lines this yields is

drwxr-xr-x  2 robin robin 4096 Nov  1 10:00 'How Tos'

On November 1 a file was in fact added to the subdir ...

Score: 0
DIrectory automatically Broken in Ubuntu Budgie 20.04.3 LTS
be flag

As you can see in the below pictures,Two (Music and Videos) directories are automatically broken.Do anyone know the reason for this and how to fix this. Though both the directories were empty.Can this happen with Filled Directories too ? I am using Ubuntu Budgie 20.04.3 LTS. Thank you. File SS

Properties

Output of ls -ld

ls -ld Music Videos

lrwxrwxrwx 1 manish519 manish519 50 Oct 23 19:01 Music -> 
/home/manish519/../ ...
Score: 0
kris44dad avatar
Can't escape spaces in variable name
cn flag

I trying to deal with spaces in directory names. As an example:

drive=/mnt/g; export drive
mydir="$drive/directory with spaces in name"
echo "$mydir"

The result:

/mnt/g/directory with spaces in name

Which of course, blows up on use, as bash sees this as separate arguments. The desired result would be something like:

"/mnt/g/directory with spaces in name"

as a single argument for subsequent process ...

Score: 0
Lite Riyusaki avatar
Namespace isolation
cn flag

Can namespace isolation be used to prevent a process from seeing the host directory tree. Or only allowing the process to see a part of the host directory tree or perhaps a completely different type of directory tree. Example: if host system has /, /bin, /system, /lib. I want the isolated process to see only /, /fakeDir /fakeDir2

Score: 3
JB.Thilipkumar avatar
The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable
br flag

I've installed ubuntu 20.04.3 lts and i installed anaconda3, i had to uninstall anaconda3 since i some problem accured by just type this command #rm -f anaconda3 from root and /home/user directory. After this i got this trouble given below,

thilipkumar@thilipkumar-Inspiron-5520:~$ sudo -s
[sudo] password for thilipkumar: 
root@thilipkumar-Inspiron-5520:/home/thilipkumar# ls
Command 'ls' is available in ...
Score: 1
MarkS avatar
Open a file in a hidden directory
cn flag

I am a beginner so please assume I know nothing. I am trying to find a BOINC file app_config.xml which should be in a this directory /var/lib/boinc-client/ but I can not find it with files. I tried using the terminal but could only find the same directories

Thanks

Score: 0
A strange external device appeared on the left sidebar
pl flag

First it only showed up for a split second and disappeared, and after that it appeared again and stayed. It looks like this:

It looked like this

I didn't have anything plugged in at the time so I don't know where it came from. It had some files in the folders but I don't remember them because I was nervous and just ejected it. Is it normal? BTW I still use Ubuntu 16.04 but I'm planning to upgrade.

Score: 0
Programmer avatar
Cannot mv file into a subdirectory of itself
us flag

I was trying to rename a file in /media/user/TOSHIBA EXT/Fotos/Chronologisch using mv, and I get the following error:

/media/user/TOSHIBA EXT/Fotos/Chronologisch$ mv "DSC00001.JPG" "12.10.2021-16:20:56.jpg"
mv: moving 'DSC00001.JPG' into a subdirectory of itself ('12.10.2021-16:20:56.jpg') is not possible

The contents of the folder are ~3000 photos:

/media/frederic/TOSHIBA EXT/Fotos/Chronologisch ...
Score: 0
Ana Ho avatar
How do I make a directory in Linux without it being made in other users on the server?
tr flag

I recently ssh into my company's airflow server, so there are multiple users on this server. Whenever I make a new directory say it makes the directory in all of the other users as well. How can I set it up where I am only making a directory in one user, not all users on the server?

Additionally it says that I have specific versions of certain packages like Python 2.7.5 but I also have Python 3  ...

Score: 0
alireza mirmohamad avatar
If i create a folder in a folder, the execute bit permission not included, so i should set it manually in order to access it
ma flag

i got a problem these days, i have a server, when i make a subfolder inside of a specific folder "the name of the folder is: "AFORWARD", for example i make "GG" inside the "AFORWARD", any folder i make inside the "AFORWARD" they become inaccessible, meaning that i can't get into them, and when i tried to see the permissions set for the subdirectory, looks like there is no execute bit included by default ...

Score: 0
Arthur Grant avatar
referring to parent directory in a save file dialog
cn flag

I tired of the continuous updates in Windows making my programs unusable. After an excursion to Linux Lite, I am now running Ubuntu on my Dell laptop because it was the supported distro. I'm not TERRIBLY stupid, I can program in C and I remember things like file permissions (user-group-everyone) from my SCO days. However, something I tried to do didn't have the effect I thought.

I was in a file s ...

Score: 0
dtdas qwf avatar
Used encfc, Can't Mount a Stash
fr flag

I created a stash following the instructions I found here https://www.addictivetips.com/ubuntu-linux-tips/manage-encfs-stashes-linux/. It worked fine and I couls mound and unmount (by checking and unchecking the stash name from the drop down menu in the icon in the upper right corner of my screen). However, after rebooting my computer the stash is no longer listed there. It is listed when I open the G ...

Score: -4
Mr Pubzz avatar
When using Ubuntu live CD, files and folders cannot be copied or moved due to permissions
us flag

I want to use an Ubuntu live CD and copy a folder between my two Windows hard disks.

However, I get an error saying that I don't have permission to do it.

How can I do this?

Score: 2
Space Impact avatar
How to remove directories that have numbers as file names in Ubuntu using command line?
in flag

I have a directory where there are subdirectories which have numbers as directories. For example I have a parent directory test now I have some subdirectories like 1,2,3,4,5,6,7. Now I have a local exported variable like export a=3. I want to delete directories that are above or equal to $a and below or equal to $a+3, So I want to delete files 4,5. How can I achieve this in Ubuntu 18.04.6 LTS.

I tried

Score: 0
Jahongir Hayitov avatar
How to hide root folders from desktop? (like: Downloads, Videos, Music, ...)
br flag

Here are the folders

I tried much time and when I deleted folders from the desktop, the folders could be deleted from the main folder

Score: 0
Martian2020 avatar
Why `Permission denied` for `ls` and `touch` when folder have `r` and `w` permissions for everybody?
ec flag

I've read rm: cannot remove directory/: Permission denied, noted answers to the question where permissions for directory were not provided missed restricted directory bit case, so I decided to learn deeper and stumbled upon the following for which I was not able to find answer by web search:

touch /media/drive/1/2
touch: cannot touch '/media/drive/1/2': Permission denied
ls /media/drive/1
ls: cannot a ...
Score: 0
I can't create a "nordvpn" folder in /run
cn flag

As you can see on the joined picture.

1 - When I type : sudo mkdir nordvpn in /run I can create a folder "nordvpn". I type once "ls"; I can see the folder, I type a second times "ls" and the folder has disapeared.

but

2- When I type : sudo mkdir a in /run I can create a folder "a". I type once "ls"; I can see the folder, I type a second times "ls" and the folder is still there.

screen capure of th ...

Score: 0
TheCeylann avatar
SAMBA creating shared folders inside shared folder
cn flag

I want to create multiple shared folders with different access permissions inside the shared folder.

For example, I accessed my Server and created 2 shared folders, Projects and Documents.

Anyone can access the Documents folder, but only employees involved in a project can access the projects folder.

Everything is OK until this part.

The real question is this.

Access the worker projects folder in a ...

Score: 0
Can I move the old Ubuntu snap folder's content to new installed Ubuntu snap folder
cn flag

I have installed one Ubuntu 20.04 on my 18.04 Ubuntu, so I have seen in the home folder I have had the old user files, like download and ...files. so I have moved my old Ubuntu profile files from Documnets, Desktop,' My Documents, PicturesandVideosto the new profile folder, but I want to know can I move the content of old profile'ssnap folderto new profile folder'ssnap folder`?

Thanks.